From f98c1e26ee0861d9feef350c2d0c1147a9d20a2e Mon Sep 17 00:00:00 2001 From: jsing <> Date: Mon, 4 Aug 2014 16:07:25 +0000 Subject: Provide a function that returns a server connection context. --- src/lib/libressl/ressl_internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/libressl/ressl_internal.h') diff --git a/src/lib/libressl/ressl_internal.h b/src/lib/libressl/ressl_internal.h index 0b6a58bf2d..75ca11dd02 100644 --- a/src/lib/libressl/ressl_internal.h +++ b/src/lib/libressl/ressl_internal.h @@ -36,6 +36,7 @@ struct ressl_config { #define RESSL_CLIENT (1 << 0) #define RESSL_SERVER (1 << 1) +#define RESSL_SERVER_CONN (1 << 2) struct ressl { struct ressl_config *config; @@ -51,6 +52,7 @@ struct ressl { }; struct ressl *ressl_new(void); +struct ressl *ressl_server_conn(struct ressl *ctx); int ressl_check_hostname(X509 *cert, const char *host); int ressl_configure_keypair(struct ressl *ctx); -- cgit v1.2.3-55-g6feb