From 46a9f1c87cb36c82fc99b084cda2ae5a7bb91284 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 15 Oct 2015 17:54:41 +0200 Subject: Support certificate verification by ca-bundle and hostname --- openssl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openssl.h') diff --git a/openssl.h b/openssl.h index bde6ef4..562e36c 100644 --- a/openssl.h +++ b/openssl.h @@ -13,7 +13,7 @@ BOOL ssl_init(); SSL_CTX* ssl_newServerCtx(char *certfile, char *keyfile); -SSL_CTX* ssl_newClientCtx(); +SSL_CTX* ssl_newClientCtx(const char *cabundle); SSL *ssl_new(int clientFd, SSL_CTX *ctx); -- cgit v1.2.3-55-g7522