Indentation fix

This commit is contained in:
Tatsuya Kinoshita
2018-10-26 21:13:46 +09:00
parent bfe9ba9275
commit 8c32ce830c
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

2
url.c
View File

@@ -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;