diff options
Diffstat (limited to 'src/lib/libressl/ressl_internal.h')
-rw-r--r-- | src/lib/libressl/ressl_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
36 | 36 | ||
37 | #define RESSL_CLIENT (1 << 0) | 37 | #define RESSL_CLIENT (1 << 0) |
38 | #define RESSL_SERVER (1 << 1) | 38 | #define RESSL_SERVER (1 << 1) |
39 | #define RESSL_SERVER_CONN (1 << 2) | ||
39 | 40 | ||
40 | struct ressl { | 41 | struct ressl { |
41 | struct ressl_config *config; | 42 | struct ressl_config *config; |
@@ -51,6 +52,7 @@ struct ressl { | |||
51 | }; | 52 | }; |
52 | 53 | ||
53 | struct ressl *ressl_new(void); | 54 | struct ressl *ressl_new(void); |
55 | struct ressl *ressl_server_conn(struct ressl *ctx); | ||
54 | 56 | ||
55 | int ressl_check_hostname(X509 *cert, const char *host); | 57 | int ressl_check_hostname(X509 *cert, const char *host); |
56 | int ressl_configure_keypair(struct ressl *ctx); | 58 | int ressl_configure_keypair(struct ressl *ctx); |