summaryrefslogtreecommitdiffstats
path: root/pica-client
diff options
context:
space:
mode:
authorAnton <anton@picapica>2018-07-29 01:00:46 +0400
committerAnton <anton@picapica>2018-07-29 01:00:46 +0400
commitb38cc90f5b38138687263f574a408e17c1f7b2d6 (patch)
treea4ca485c2e4f80b421e7bb148e0c79f4f21b4473 /pica-client
parentd240ed3e88dbb164d36a8007939b4ab7913f8435 (diff)
downloadpica-pica-b38cc90f5b38138687263f574a408e17c1f7b2d6.tar.gz
pica-pica-b38cc90f5b38138687263f574a408e17c1f7b2d6.zip
moved common peer certificate verification code into new func verify_peer_cert_common(); added check for min RSA key size
Diffstat (limited to 'pica-client')
-rw-r--r--pica-client/dialogs/registeraccountdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pica-client/dialogs/registeraccountdialog.cpp b/pica-client/dialogs/registeraccountdialog.cpp
index 34254d9..05a4932 100644
--- a/pica-client/dialogs/registeraccountdialog.cpp
+++ b/pica-client/dialogs/registeraccountdialog.cpp
@@ -179,7 +179,7 @@ void RegisterAccountDialog::Register()
nickname->setEnabled(false);
btRegister->setEnabled(false);
- ost.GenRSAKeySignal(PICA_RSA_KEYSIZE, config_dir + QDir::separator() + "privkey.pem", cbSetPassword->isChecked(),
+ ost.GenRSAKeySignal(PICA_RSA_MINKEYSIZE, config_dir + QDir::separator() + "privkey.pem", cbSetPassword->isChecked(),
password->text(), rand, this, SLOT(stageSignCert(int, QProcess::ExitStatus)));
}