From 89861533aa956b64aa30f063e192a07fcf69b00d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Sep 2015 00:35:08 -0500 Subject: Update for libtdeldap API change --- src/userconfigdlg.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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("Unable to generate new private key

Details: %1").arg(errorstring), i18n("Unable to Obtain Certificate")); return; } -- cgit v1.2.1