aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--istream.c2
-rw-r--r--url.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/istream.c b/istream.c
index 4989a4f..74adac5 100644
--- a/istream.c
+++ b/istream.c
@@ -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);
diff --git a/url.c b/url.c
index e1da3d9..1c17e18 100644
--- a/url.c
+++ b/url.c
@@ -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;