X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fverify.h;h=67df61bb1ab214a452ee424e1ab8514d3eb6caae;hb=2baa95ccbe4631bafa59fb2200d5758f38943073;hp=8b78e7740cead315e4b198732df6bf08d9b52ed2;hpb=946885b04de70f8481f58160de12f3ee3b0b380a;p=tlsproxy%2Ftlsproxy.git diff --git a/src/verify.h b/src/verify.h index 8b78e77..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,6 +20,10 @@ #ifndef VERIFY_H #define VERIFY_H +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