diff --git a/src/plugins/coreplugin/ssh/sshkeygenerator.cpp b/src/plugins/coreplugin/ssh/sshkeygenerator.cpp index 985a6e256f1..de46e4af32d 100644 --- a/src/plugins/coreplugin/ssh/sshkeygenerator.cpp +++ b/src/plugins/coreplugin/ssh/sshkeygenerator.cpp @@ -67,7 +67,7 @@ bool SshKeyGenerator::generateKeys(KeyType type, PrivateKeyFormat format, if (m_type == Rsa) key = KeyPtr(new RSA_PrivateKey(rng, keySize)); else - key = KeyPtr(new DSA_PrivateKey(rng, DL_Group(rng, DL_Group::Strong, + key = KeyPtr(new DSA_PrivateKey(rng, DL_Group(rng, DL_Group::DSA_Kosherizer, keySize))); return m_format == Pkcs8 ? generatePkcs8Keys(key) : generateOpenSslKeys(key);