summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl.h
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2021-01-26 18:43:41 +0000
committertb <tb@openbsd.org>2021-01-26 18:43:41 +0000
commitcef7ca0d65d8801c0e05f0657cbce0f3d2c547ff (patch)
tree220084489ce1b0fea6f7fb8636db40d52686d441 /lib/libssl/ssl.h
parentone variable was common, fixing what I can. (diff)
downloadwireguard-openbsd-cef7ca0d65d8801c0e05f0657cbce0f3d2c547ff.tar.xz
wireguard-openbsd-cef7ca0d65d8801c0e05f0657cbce0f3d2c547ff.zip
Prepare to provide SSL_set_hostflags()
Yet another one of these X509_VERIFY_PARAM reacharounds into libcrypto. Recently found in imapfilter, also used elsewhere. Will be made publicly visible with the next minor bump. ok jsing
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r--lib/libssl/ssl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index a6ac6a1825b..425ba50c146 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.179 2020/10/14 16:49:57 jsing Exp $ */
+/* $OpenBSD: ssl.h,v 1.180 2021/01/26 18:43:41 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1444,6 +1444,7 @@ int SSL_CTX_set_trust(SSL_CTX *s, int trust);
int SSL_set_trust(SSL *s, int trust);
int SSL_set1_host(SSL *s, const char *hostname);
#if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL)
+void SSL_set_hostflags(SSL *s, unsigned int flags);
const char *SSL_get0_peername(SSL *s);
#endif