]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - src/verify.h
src/sem.c,src/tlsproxy.c: Minor cleanup.
[tlsproxy/tlsproxy.git] / src / verify.h
index e39cc59ddd1f83beac88f946684f83757dad6ff1..4771e295087d6c1c2344b082e2ecc8a12b0966a1 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Verify established TLS connections.
  *
- * Copyright (C) 2011  Simon Ruderich
+ * Copyright (C) 2011-2012  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