diff options
| author | Anton <anton@picapica> | 2018-07-29 01:54:55 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2018-07-29 01:54:55 +0400 |
| commit | 4f4dc6749cbeb13462e438ed39a87744b62a4db8 (patch) | |
| tree | a318635494fa13d3fd3701d0fa1c3780c19e6cee /pica-client/dialogs/registeraccountdialog.cpp | |
| parent | bee1c176ad1ecc553a240d8f4b2c7b054c9746d2 (diff) | |
| download | pica-pica-4f4dc6749cbeb13462e438ed39a87744b62a4db8.tar.gz pica-pica-4f4dc6749cbeb13462e438ed39a87744b62a4db8.zip | |
use randomized RSA key size for account certificates
Diffstat (limited to 'pica-client/dialogs/registeraccountdialog.cpp')
| -rw-r--r-- | pica-client/dialogs/registeraccountdialog.cpp | 3 |
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))); } |
