summaryrefslogtreecommitdiffstats
path: root/kio/kssl/ksslutils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kssl/ksslutils.cc')
-rw-r--r--kio/kssl/ksslutils.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kio/kssl/ksslutils.cc b/kio/kssl/ksslutils.cc
index 7f254f49b..8e51f8891 100644
--- a/kio/kssl/ksslutils.cc
+++ b/kio/kssl/ksslutils.cc
@@ -92,10 +92,10 @@ TQString ASN1_UTCTIME_QString(ASN1_UTCTIME *tm) {
TQString ASN1_INTEGER_QString(ASN1_INTEGER *aint) {
-char *rep = KOSSL::self()->i2s_ASN1_INTEGER(NULL, aint);
-TQString yy = rep;
-KOSSL::self()->OPENSSL_free(rep);
-return yy;
+ char *rep = KOSSL::self()->i2s_ASN1_INTEGER(NULL, aint);
+ TQString yy = rep;
+ KOSSL::self()->CRYPTO_free(rep);
+ return yy;
}