aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-09-26 07:03:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-09-26 07:03:59 +0000
commit60ee571bd6df76b13e48e13ecf7bb37da81ba82d (patch)
tree32471a8d4437b18dd21053bf0a1afe6f78c4138f
parentbdfe654aee7395b6c79792087821f46829795c68 (diff)
CRYPTO_free() of course, it makes it run with previous openssl versions too
-rw-r--r--lib/ssluse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index a519332df..7933fc29e 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -266,7 +266,7 @@ UrgSSLConnect (struct UrlData *data)
return 4;
}
infof(data, "\t subject: %s\n", str);
- OPENSSL_free(str);
+ CRYPTO_free(str);
str = X509_NAME_oneline (X509_get_issuer_name (data->server_cert), NULL, 0);
if(!str) {
@@ -274,7 +274,7 @@ UrgSSLConnect (struct UrlData *data)
return 5;
}
infof(data, "\t issuer: %s\n", str);
- OPENSSL_free(str);
+ CRYPTO_free(str);
/* We could do all sorts of certificate verification stuff here before
deallocating the certificate. */