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, 1 insertions, 2 deletions
diff --git a/pica-client/dialogs/registeraccountdialog.cpp b/pica-client/dialogs/registeraccountdialog.cpp
index 05a4932..96345b9 100644
--- a/pica-client/dialogs/registeraccountdialog.cpp
+++ b/pica-client/dialogs/registeraccountdialog.cpp
@@ -17,7 +17,6 @@
*/
#include "registeraccountdialog.h"
#include "../globals.h"
-#include "../../PICA_security.h"
#include <QVBoxLayout>
#include <QDir>
#include <QFile>
@@ -179,7 +178,7 @@ void RegisterAccountDialog::Register()
nickname->setEnabled(false);
btRegister->setEnabled(false);
- ost.GenRSAKeySignal(PICA_RSA_MINKEYSIZE, config_dir + QDir::separator() + "privkey.pem", cbSetPassword->isChecked(),
+ ost.GenRSAKeySignal(config_dir + QDir::separator() + "privkey.pem", cbSetPassword->isChecked(),
password->text(), rand, this, SLOT(stageSignCert(int, QProcess::ExitStatus)));
}