X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fverify.c;h=14c7127b7c39cd01ad0b9aa0082cb1396b35f6ca;hb=2cc876ebafc566267a6de49fe722257977967091;hp=4cd9d503d791ae3c427c7ffe3e845037897747cd;hpb=cb291e5cd62b9bd9a740e86b85bd4ae84595b3d3;p=tlsproxy%2Ftlsproxy.git 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,