diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-09-19 00:35:08 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-09-19 00:35:08 -0500 |
commit | 89861533aa956b64aa30f063e192a07fcf69b00d (patch) | |
tree | 655a1aa4246100ae4eb2a28119bdcd2faea72ea0 /src/userconfigdlg.cpp | |
parent | f041f149c48900d0e3367c1c97f09a87731bcc44 (diff) | |
download | kcmldapmanager-89861533aa956b64aa30f063e192a07fcf69b00d.tar.gz kcmldapmanager-89861533aa956b64aa30f063e192a07fcf69b00d.zip |
Update for libtdeldap API change
Diffstat (limited to 'src/userconfigdlg.cpp')
-rw-r--r-- | src/userconfigdlg.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/userconfigdlg.cpp b/src/userconfigdlg.cpp index 443391e..9e90065 100644 --- a/src/userconfigdlg.cpp +++ b/src/userconfigdlg.cpp @@ -317,7 +317,9 @@ void UserConfigDialog::createPKICertificate() { if (m_base->certGenPrivateKey->isChecked()) { // Generate new private key - if (LDAPManager::generateClientCertificatePrivateKey(m_base->certPrivateKeyFileName->url(), &errorstring) != 0) { + // FIXME + // Make RSA private key length user-configurable (currently locked to 2048 bits) + if (LDAPManager::generateClientCertificatePrivateKey(m_base->certPrivateKeyFileName->url(), 2048, &errorstring) != 0) { KMessageBox::sorry(this, i18n("<qt><b>Unable to generate new private key</b><p>Details: %1</qt>").arg(errorstring), i18n("Unable to Obtain Certificate")); return; } |