summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libtls/tls_internal.h')
-rw-r--r--src/lib/libtls/tls_internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h
index 7bbc14ca86..bd23249e57 100644
--- a/src/lib/libtls/tls_internal.h
+++ b/src/lib/libtls/tls_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls_internal.h,v 1.56 2017/04/07 08:48:30 jsing Exp $ */ 1/* $OpenBSD: tls_internal.h,v 1.57 2017/04/10 17:11:13 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> 3 * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org>
4 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
@@ -186,7 +186,8 @@ void tls_sni_ctx_free(struct tls_sni_ctx *sni_ctx);
186struct tls *tls_new(void); 186struct tls *tls_new(void);
187struct tls *tls_server_conn(struct tls *ctx); 187struct tls *tls_server_conn(struct tls *ctx);
188 188
189int tls_check_name(struct tls *ctx, X509 *cert, const char *servername); 189int tls_check_name(struct tls *ctx, X509 *cert, const char *servername,
190 int *match);
190int tls_configure_server(struct tls *ctx); 191int tls_configure_server(struct tls *ctx);
191 192
192int tls_configure_ssl(struct tls *ctx, SSL_CTX *ssl_ctx); 193int tls_configure_ssl(struct tls *ctx, SSL_CTX *ssl_ctx);