X-Git-Url: https://ruderich.org/simon/gitweb/?p=tlsproxy%2Ftlsproxy.git;a=blobdiff_plain;f=src%2Fverify.h;h=c98401f5173efdb4fd93be60f51f3e26c09fb636;hp=e39cc59ddd1f83beac88f946684f83757dad6ff1;hb=7eba49d24d56288d83746f3f0ce383d7c0c36552;hpb=80e82203daef6daf7a16219876fc404e12f82c8a diff --git a/src/verify.h b/src/verify.h index e39cc59..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,7 +20,10 @@ #ifndef VERIFY_H #define VERIFY_H -int server_certificate_path(FILE **file, const char *hostname, char *path, size_t size); +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