X-Git-Url: https://ruderich.org/simon/gitweb/?p=tlsproxy%2Ftlsproxy.git;a=blobdiff_plain;f=src%2Fverify.h;h=c98401f5173efdb4fd93be60f51f3e26c09fb636;hp=8b78e7740cead315e4b198732df6bf08d9b52ed2;hb=7eba49d24d56288d83746f3f0ce383d7c0c36552;hpb=946885b04de70f8481f58160de12f3ee3b0b380a diff --git a/src/verify.h b/src/verify.h index 8b78e77..c98401f 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-2014 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