aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2018-10-26 12:13:46 +0000
committerTatsuya Kinoshita <tats@debian.org>2018-10-26 12:13:46 +0000
commit8c32ce830c36662f9aa22cc33422e497e695d8ea (patch)
tree996d644b7cc0cffc0fea4c401446bae91133426e
parentMerge pull request #103 from Polynomial-C/openssl-1.1_disable_deprecated (diff)
downloadw3m-8c32ce830c36662f9aa22cc33422e497e695d8ea.tar.gz
w3m-8c32ce830c36662f9aa22cc33422e497e695d8ea.zip
Indentation fix
Diffstat (limited to '')
-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;