]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - src/tlsproxy.h
src/connection.c: Use "invalid" certificate when the server certificate changes.
[tlsproxy/tlsproxy.git] / src / tlsproxy.h
index c151344db84753e3b4a02119cfc2e003465973ac..bcb9c2d34255245e2918c5d492396b51ccd9e870 100644 (file)
@@ -35,6 +35,9 @@
 /* Paths to necessary TLS files: the CA and the server key. */
 #define PROXY_CA_FILE  "proxy-ca.pem"
 #define PROXY_KEY_FILE "proxy-key.pem"
+/* Path to special "invalid" certificate send to the client when an error
+ * occurs. */
+#define PROXY_INVALID_CERT_FILE "proxy-invalid.pem"
 /* The server certificate for the given hostname is stored in
  * "./certificate-hostname-proxy.pem" - we use this for the connection to the
  * client. */