Loading lib/ssluse.c +5 −8 Original line number Diff line number Diff line Loading @@ -266,7 +266,7 @@ UrgSSLConnect (struct UrlData *data) return 4; } infof(data, "\t subject: %s\n", str); Free (str); OPENSSL_free(str); str = X509_NAME_oneline (X509_get_issuer_name (data->server_cert), NULL, 0); if(!str) { Loading @@ -274,18 +274,15 @@ UrgSSLConnect (struct UrlData *data) return 5; } infof(data, "\t issuer: %s\n", str); Free (str); OPENSSL_free(str); /* We could do all sorts of certificate verification stuff here before deallocating the certificate. */ #if SSL_VERIFY_CERT infof(data, "Verify result: %d\n", SSL_get_verify_result(data->ssl)); #endif X509_free(data->server_cert); #else /* USE_SSLEAY */ /* this is for "-ansi -Wall -pedantic" to stop complaining! (rabe) */ Loading Loading
lib/ssluse.c +5 −8 Original line number Diff line number Diff line Loading @@ -266,7 +266,7 @@ UrgSSLConnect (struct UrlData *data) return 4; } infof(data, "\t subject: %s\n", str); Free (str); OPENSSL_free(str); str = X509_NAME_oneline (X509_get_issuer_name (data->server_cert), NULL, 0); if(!str) { Loading @@ -274,18 +274,15 @@ UrgSSLConnect (struct UrlData *data) return 5; } infof(data, "\t issuer: %s\n", str); Free (str); OPENSSL_free(str); /* We could do all sorts of certificate verification stuff here before deallocating the certificate. */ #if SSL_VERIFY_CERT infof(data, "Verify result: %d\n", SSL_get_verify_result(data->ssl)); #endif X509_free(data->server_cert); #else /* USE_SSLEAY */ /* this is for "-ansi -Wall -pedantic" to stop complaining! (rabe) */ Loading