X-Git-Url: https://ruderich.org/simon/gitweb/?p=tlsproxy%2Ftlsproxy.git;a=blobdiff_plain;f=src%2Fverify.h;h=c98401f5173efdb4fd93be60f51f3e26c09fb636;hp=2e986db87ee5cb005e3d0a470fa6aaca665300a9;hb=7eba49d24d56288d83746f3f0ce383d7c0c36552;hpb=2cc876ebafc566267a6de49fe722257977967091 diff --git a/src/verify.h b/src/verify.h index 2e986db..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,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