diff options
-rw-r--r-- | istream.c | 2 | ||||
-rw-r--r-- | url.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -424,7 +424,7 @@ ssl_check_cert_ident(X509 * x, char *hostname) #if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) char *sn = ASN1_STRING_data(gn->d.ia5); #else - char *sn = ASN1_STRING_get0_data(gn->d.ia5); + char *sn = ASN1_STRING_get0_data(gn->d.ia5); #endif int sl = ASN1_STRING_length(gn->d.ia5); @@ -327,7 +327,7 @@ openSSLHandle(int sock, char *hostname, char **p_cert) SSLeay_add_ssl_algorithms(); SSL_load_error_strings(); #else - OPENSSL_init_ssl(0, NULL); + OPENSSL_init_ssl(0, NULL); #endif if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method()))) goto eend; |