summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libssl/ssl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index ea1b9993df..88039c08d6 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.177 2020/09/19 10:17:56 tb Exp $ */ 1/* $OpenBSD: ssl.h,v 1.178 2020/09/20 09:42:00 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1443,7 +1443,9 @@ int SSL_set_purpose(SSL *s, int purpose);
1443int SSL_CTX_set_trust(SSL_CTX *s, int trust); 1443int SSL_CTX_set_trust(SSL_CTX *s, int trust);
1444int SSL_set_trust(SSL *s, int trust); 1444int SSL_set_trust(SSL *s, int trust);
1445int SSL_set1_host(SSL *s, const char *hostname); 1445int SSL_set1_host(SSL *s, const char *hostname);
1446#if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL)
1446const char *SSL_get0_peername(SSL *s); 1447const char *SSL_get0_peername(SSL *s);
1448#endif
1447 1449
1448X509_VERIFY_PARAM *SSL_CTX_get0_param(SSL_CTX *ctx); 1450X509_VERIFY_PARAM *SSL_CTX_get0_param(SSL_CTX *ctx);
1449int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm); 1451int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm);