X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fverify.c;h=6697865d01a9c02167b3b2449a61c2b90f9d38a3;hb=ef2260420e9544a36b53fadbbaeb7593d0d47769;hp=5de9d84d0517737daf5c07a2b73919bb37c14b86;hpb=8fd61ea9f6e79de1d7c3943c9271511cf2827761;p=tlsproxy%2Ftlsproxy.git diff --git a/src/verify.c b/src/verify.c index 5de9d84..6697865 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-2012 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;