X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fverify.c;h=855c5d21c4bcf470fb9d036523a984e7c4a3a6aa;hb=f012f75b2ed64fe9955b1dc2013c06e054bafd7f;hp=7031c28d85752e2f3c398d94fa057b9a35dacc9a;hpb=8c4ae426c578d53c7afcbcbc178c96a7da3614c2;p=tlsproxy%2Ftlsproxy.git diff --git a/src/verify.c b/src/verify.c index 7031c28..855c5d2 100644 --- a/src/verify.c +++ b/src/verify.c @@ -237,13 +237,13 @@ static int get_certificate_path(const char *format, } int proxy_certificate_path(const char *hostname, char *path, size_t size) { - return get_certificate_path(PROXY_SERVER_CERT_FORMAT, + return get_certificate_path(PROXY_SERVER_CERT_FILE_FORMAT, hostname, path, size); } int server_certificate_file(FILE **file, const char *hostname, char *path, size_t size) { - if (get_certificate_path(STORED_SERVER_CERT_FORMAT, + if (get_certificate_path(STORED_SERVER_CERT_FILE_FORMAT, hostname, path, size) != 0) { LOG_PERROR(ERROR, "server_certificate_file(): failed to get path"); return -1;