]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CRYPTO_free() of course, it makes it run with previous openssl versions too
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 Sep 2000 07:03:59 +0000 (07:03 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 26 Sep 2000 07:03:59 +0000 (07:03 +0000)
lib/ssluse.c

index a519332df685fe4194fcc5d3877bc1deb827f0c9..7933fc29e546b9c5cf04aa7176be12fadbe361d8 100644 (file)
@@ -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. */