diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-03-17 14:06:48 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-03-17 14:06:48 +0100 |
commit | 2dc1a5ce93514d4354fa01229756fc48c00513d9 (patch) | |
tree | 63554b3a7c3e0bc85e9da9713316438c58b757e9 /lib/vtls | |
parent | 0037eb58052b19bad7ce55b2317a19283c644637 (diff) |
checksrc: detect and remove space before trailing semicolons
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); |