X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fverify.c;h=6ea5f1b23d07f45be840f813035410129765d466;hb=a64101800c79c852cc4ab9d445c35aad0a6457eb;hp=5de9d84d0517737daf5c07a2b73919bb37c14b86;hpb=8fd61ea9f6e79de1d7c3943c9271511cf2827761;p=tlsproxy%2Ftlsproxy.git diff --git a/src/verify.c b/src/verify.c index 5de9d84..6ea5f1b 100644 --- a/src/verify.c +++ b/src/verify.c @@ -1,7 +1,7 @@ /* * Verify established TLS connections. * - * Copyright (C) 2011 Simon Ruderich + * Copyright (C) 2011-2013 Simon Ruderich * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ static int get_certificate_path(const char *format, int verify_tls_connection(gnutls_session_t session, const char *hostname) { int result; - char path[1024]; + char path[TLSPROXY_MAX_PATH_LENGTH]; size_t size; unsigned int status;