mirror of
https://github.com/curl/curl.git
synced 2026-04-30 07:57:52 +03:00
CRYPTO_free() of course, it makes it run with previous openssl versions too
This commit is contained in:
parent
bdfe654aee
commit
60ee571bd6
1 changed files with 2 additions and 2 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue