aboutsummaryrefslogtreecommitdiffstats
path: root/keygendialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keygendialog.cpp')
-rw-r--r--keygendialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/keygendialog.cpp b/keygendialog.cpp
index fc07524..bce9071 100644
--- a/keygendialog.cpp
+++ b/keygendialog.cpp
@@ -143,7 +143,7 @@ void KeyGenDialog::keyGenAccept()
} else {
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";