diff options
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/openssl.c | 2 | ||||
-rw-r--r-- | lib/vtls/polarssl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index f5610bb1e..f0c97f044 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -1236,7 +1236,7 @@ static CURLcode verifyhost(struct connectdata *conn, X509 *server_cert) unsigned char *nulstr = (unsigned char *)""; unsigned char *peer_CN = nulstr; - X509_NAME *name = X509_get_subject_name(server_cert) ; + X509_NAME *name = X509_get_subject_name(server_cert); if(name) while((j = X509_NAME_get_index_by_NID(name, NID_commonName, i))>=0) i=j; diff --git a/lib/vtls/polarssl.c b/lib/vtls/polarssl.c index cafcec2b3..0a7311c2c 100644 --- a/lib/vtls/polarssl.c +++ b/lib/vtls/polarssl.c @@ -496,7 +496,7 @@ polarssl_connect_step3(struct connectdata *conn, struct ssl_connect_data *connssl = &conn->ssl[sockindex]; struct SessionHandle *data = conn->data; void *old_ssl_sessionid = NULL; - ssl_session *our_ssl_sessionid = &conn->ssl[sockindex].ssn ; + ssl_session *our_ssl_sessionid = &conn->ssl[sockindex].ssn; bool incache; DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); |