From c9b63f7f9be01692b03fa15275135a4910a7e02d Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 19 Nov 2014 21:43:01 -0500 Subject: ssl: Validate hostnames Closes #524 --- src/common/ssl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/ssl.h') diff --git a/src/common/ssl.h b/src/common/ssl.h index 9c729855..ce2f616c 100644 --- a/src/common/ssl.h +++ b/src/common/ssl.h @@ -52,7 +52,7 @@ char *_SSL_set_verify (SSL_CTX *ctx, void *(verify_callback), char *cacert); int SSL_get_fd(SSL *); */ void _SSL_close (SSL * ssl); - +int _SSL_check_hostname(X509 *cert, const char *host); int _SSL_get_cert_info (struct cert_info *cert_info, SSL * ssl); struct chiper_info *_SSL_get_cipher_info (SSL * ssl); -- cgit 1.4.1