X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fverify.h;h=67df61bb1ab214a452ee424e1ab8514d3eb6caae;hb=b7ce41b809a3b3533d398c0da8fd9787c149434c;hp=2e986db87ee5cb005e3d0a470fa6aaca665300a9;hpb=2cc876ebafc566267a6de49fe722257977967091;p=tlsproxy%2Ftlsproxy.git diff --git a/src/verify.h b/src/verify.h index 2e986db..67df61b 100644 --- a/src/verify.h +++ b/src/verify.h @@ -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 @@ -20,8 +20,10 @@ #ifndef VERIFY_H #define VERIFY_H -int server_certificate_path(FILE **file, const char *hostname, +int proxy_certificate_path(const char *hostname, char *path, size_t size); +int server_certificate_file(FILE **file, const char *hostname, char *path, size_t size); + int verify_tls_connection(gnutls_session_t session, const char *hostname); #endif