From 2dc1a5ce93514d4354fa01229756fc48c00513d9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 17 Mar 2015 14:06:48 +0100 Subject: checksrc: detect and remove space before trailing semicolons --- lib/vtls/openssl.c | 2 +- lib/vtls/polarssl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/vtls') 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); -- cgit v1.2.3