X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=ssl_common.h;h=66fb5374162a89636b4908d048e115b44269b254;hb=b56df329c6a4f03ee11d5f0c4a3cc01ee37eaf21;hp=3caa17cf09e3b674823e0b9fdd036f8dfbb2080c;hpb=07d3ffdfb75d55d07fa8fc9e79f7829d9e8e476f;p=privoxy.git diff --git a/ssl_common.h b/ssl_common.h index 3caa17cf..66fb5374 100644 --- a/ssl_common.h +++ b/ssl_common.h @@ -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 @@ -73,6 +72,6 @@ extern char *make_certs_path(const char *conf_dir, const char *file_name, 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 */