summaryrefslogtreecommitdiffstats
path: root/tdecert/tdecertpart.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tdecert/tdecertpart.cc')
-rw-r--r--tdecert/tdecertpart.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecert/tdecertpart.cc b/tdecert/tdecertpart.cc
index 3c937e9d..02afc9b7 100644
--- a/tdecert/tdecertpart.cc
+++ b/tdecert/tdecertpart.cc
@@ -482,7 +482,7 @@ emit completed();
// x-pkcs12 loading
/////////////////////////////////////////////////////////////////////////////
if (whatType == "application/x-pkcs12") {
- TQCString pass;
+ TQString pass;
_p12 = KSSLPKCS12::loadCertFile(m_file);
while (!_p12) {
@@ -490,7 +490,7 @@ if (whatType == "application/x-pkcs12") {
int rc = KPasswordDialog::getPassword(pass, i18n("Certificate Password"));
if (rc != KPasswordDialog::Accepted) break;
- _p12 = KSSLPKCS12::loadCertFile(m_file, TQString(pass));
+ _p12 = KSSLPKCS12::loadCertFile(m_file, pass);
if (!_p12) {
rc = KMessageBox::warningContinueCancel(_frame, i18n("The certificate file could not be loaded. Try a different password?"), i18n("Certificate Import"),i18n("Try Different"));