privoxy-log-parser: Highlight: "filtering request body from client 127.0.0.1 (size...
[privoxy.git] / ssl_common.h
index 86dab98..bd5ce0b 100644 (file)
@@ -2,7 +2,7 @@
 #define SSL_COMMON_H_INCLUDED
 /*********************************************************************
 *
-* File        :  $Source: /cvsroot/ijbswa/current/ssl.h,v $
+* File        :  $Source: /cvsroot/ijbswa/current/ssl_common.h,v $
 *
 * Purpose     :  File with TLS/SSL extension. Contains methods for
 *                creating, using and closing TLS/SSL connections that do
@@ -45,7 +45,6 @@
 #define CERT_PARAM_COUNTRY_FCODE          "C"
 #define CERT_PARAM_COUNTRY_CODE           "CZ"
 #define CERT_SUBJECT_PASSWORD            ""
-#define CERT_INFO_PREFIX                 ""
 
 /*
  * Properties of cert for generating
@@ -74,5 +73,6 @@ extern unsigned long get_certificate_serial(struct client_state *csp);
 extern int get_certificate_valid_from_date(char *buffer, size_t buffer_size, const char *fmt);
 extern int get_certificate_valid_to_date(char *buffer, size_t buffer_size, const char *fmt);
 extern int host_is_ip_address(const char *host);
+extern int enforce_sane_certificate_state(const char *certificate, const char *key);
 
 #endif /* ndef SSL_COMMON_H_INCLUDED */