From: Simon Ruderich Date: Tue, 22 Mar 2011 16:08:02 +0000 (+0100) Subject: Minor whitespace fixes. X-Git-Tag: 0.2~5 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=2cc876ebafc566267a6de49fe722257977967091;p=tlsproxy%2Ftlsproxy.git Minor whitespace fixes. --- diff --git a/src/verify.c b/src/verify.c index 4cd9d50..14c7127 100644 --- a/src/verify.c +++ b/src/verify.c @@ -121,8 +121,7 @@ int verify_tls_connection(gnutls_session_t session, const char *hostname) { size += strlen(buffer); /* Make sure the buffer is big enough. */ if (sizeof(stored_cert) <= size) { - LOG(LOG_WARNING, "verify_tls_connection(): '%s' too big", - path); + LOG(LOG_WARNING, "verify_tls_connection(): '%s' too big", path); fclose(file); return -1; } @@ -149,7 +148,8 @@ int verify_tls_connection(gnutls_session_t session, const char *hostname) { return 0; } -int server_certificate_path(FILE **file, const char *hostname, char *path, size_t size) { +int server_certificate_path(FILE **file, const char *hostname, + char *path, size_t size) { /* Hostname too long. */ if (size - strlen(STORED_SERVER_CERT_FORMAT) <= strlen(hostname)) { LOG(LOG_WARNING, diff --git a/src/verify.h b/src/verify.h index e39cc59..2e986db 100644 --- a/src/verify.h +++ b/src/verify.h @@ -20,7 +20,8 @@ #ifndef VERIFY_H #define VERIFY_H -int server_certificate_path(FILE **file, const char *hostname, char *path, size_t size); +int server_certificate_path(FILE **file, const char *hostname, + char *path, size_t size); int verify_tls_connection(gnutls_session_t session, const char *hostname); #endif