diff options
author | Christian Kandeler <[email protected]> | 2017-05-05 09:57:32 +0200 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2017-05-05 08:22:23 +0000 |
commit | 71c5080d15ed077abf518daa0d680ccea2d0b3b9 (patch) | |
tree | 77ce99a770fee1c38e428f4fb6dc4ef11732502e /src/libs/ssh/sshkeycreationdialog.cpp | |
parent | 3691fbb8f8432fa084aadce8047317feef70cc16 (diff) |
SSH: Fix DSA key creation
We forgot to fill the key size combo box for this type of key.
Change-Id: I30cb1a7996d03c5eb139aa65f43810e1014472c7
Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/libs/ssh/sshkeycreationdialog.cpp')
-rw-r--r-- | src/libs/ssh/sshkeycreationdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/ssh/sshkeycreationdialog.cpp b/src/libs/ssh/sshkeycreationdialog.cpp index a079ef5f5b7..a720e7b3adc 100644 --- a/src/libs/ssh/sshkeycreationdialog.cpp +++ b/src/libs/ssh/sshkeycreationdialog.cpp @@ -77,6 +77,8 @@ void SshKeyCreationDialog::keyTypeChanged() keySizes << QLatin1String("1024") << QLatin1String("2048") << QLatin1String("4096"); else if (m_ui->ecdsa->isChecked()) keySizes << QLatin1String("256") << QLatin1String("384") << QLatin1String("521"); + else if (m_ui->dsa->isChecked()) + keySizes << QLatin1String("1024"); m_ui->comboBox->addItems(keySizes); if (!keySizes.isEmpty()) m_ui->comboBox->setCurrentIndex(0); |