summaryrefslogtreecommitdiffstats
path: root/pica-client/dialogs/registeraccountdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/dialogs/registeraccountdialog.cpp')
-rw-r--r--pica-client/dialogs/registeraccountdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pica-client/dialogs/registeraccountdialog.cpp b/pica-client/dialogs/registeraccountdialog.cpp
index 3fd0f71..34254d9 100644
--- a/pica-client/dialogs/registeraccountdialog.cpp
+++ b/pica-client/dialogs/registeraccountdialog.cpp
@@ -17,6 +17,7 @@
*/
#include "registeraccountdialog.h"
#include "../globals.h"
+#include "../../PICA_security.h"
#include <QVBoxLayout>
#include <QDir>
#include <QFile>
@@ -178,7 +179,7 @@ void RegisterAccountDialog::Register()
nickname->setEnabled(false);
btRegister->setEnabled(false);
- ost.GenRSAKeySignal(4096, config_dir + QDir::separator() + "privkey.pem", cbSetPassword->isChecked(),
+ ost.GenRSAKeySignal(PICA_RSA_KEYSIZE, config_dir + QDir::separator() + "privkey.pem", cbSetPassword->isChecked(),
password->text(), rand, this, SLOT(stageSignCert(int, QProcess::ExitStatus)));
}