diff options
-rw-r--r-- | kio/kssl/ksslcertificate.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kio/kssl/ksslcertificate.cc b/kio/kssl/ksslcertificate.cc index e4a3fbfb5..a6c53da3c 100644 --- a/kio/kssl/ksslcertificate.cc +++ b/kio/kssl/ksslcertificate.cc @@ -97,6 +97,7 @@ KSSLCertificate::KSSLCertificate() { KGlobal::dirs()->addResourceType("kssl", KStandardDirs::kde_default("data") + "kssl"); #ifdef KSSL_HAVE_SSL d->m_cert = NULL; + d->m_cert_crl = NULL; #endif } @@ -107,6 +108,7 @@ KSSLCertificate::KSSLCertificate(const KSSLCertificate& x) { KGlobal::dirs()->addResourceType("kssl", KStandardDirs::kde_default("data") + "kssl"); #ifdef KSSL_HAVE_SSL d->m_cert = NULL; + d->m_cert_crl = NULL; setCert(KOSSL::self()->X509_dup(const_cast<KSSLCertificate&>(x).getCert())); KSSLCertChain *c = x.d->_chain.replicate(); setChain(c->rawChain()); |