aboutsummaryrefslogtreecommitdiffstats
path: root/keygendialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keygendialog.cpp')
-rw-r--r--keygendialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/keygendialog.cpp b/keygendialog.cpp
index ef07e61..4d83069 100644
--- a/keygendialog.cpp
+++ b/keygendialog.cpp
@@ -126,7 +126,8 @@ void KeyGenDialog::keyGenAccept()
*/
keyGenParams = "<GnupgKeyParms format=\"internal\">\n"
"Key-Type: DSA\n"
- "Key-Length: 1024\n"
+ "Key-Length: "
+ + keySizeSpinBox->cleanText() + "\n"
"Subkey-Type: ELG-E\n"
"Subkey-Length: "
+ keySizeSpinBox->cleanText() + "\n"