/*
* 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
#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