diff options
| author | Anton <anton@picapica> | 2018-07-29 01:00:46 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2018-07-29 01:00:46 +0400 |
| commit | b38cc90f5b38138687263f574a408e17c1f7b2d6 (patch) | |
| tree | a4ca485c2e4f80b421e7bb148e0c79f4f21b4473 /pica-client | |
| parent | d240ed3e88dbb164d36a8007939b4ab7913f8435 (diff) | |
| download | pica-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.cpp | 2 |
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))); } |
