summary refs log tree commit diff stats
path: root/src/common/ssl.h
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-11-19 21:43:01 -0500
committerTingPing <tingping@tingping.se>2014-11-21 23:19:30 -0500
commitc9b63f7f9be01692b03fa15275135a4910a7e02d (patch)
tree540e8b3ecc477a13b0557d344fbb87ca9fbd57e6 /src/common/ssl.h
parentebaaf466bf42aec26f05e71f06c39a0b19e32e77 (diff)
ssl: Validate hostnames
Closes #524
Diffstat (limited to 'src/common/ssl.h')
-rw-r--r--src/common/ssl.h2
1 files changed, 1 insertions, 1 deletions
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);