]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
Minor whitespace fixes.
authorSimon Ruderich <simon@ruderich.org>
Tue, 22 Mar 2011 16:08:02 +0000 (17:08 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 22 Mar 2011 16:08:02 +0000 (17:08 +0100)
src/verify.c
src/verify.h

index 4cd9d503d791ae3c427c7ffe3e845037897747cd..14c7127b7c39cd01ad0b9aa0082cb1396b35f6ca 100644 (file)
@@ -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,
index e39cc59ddd1f83beac88f946684f83757dad6ff1..2e986db87ee5cb005e3d0a470fa6aaca665300a9 100644 (file)
@@ -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