diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-03-31 16:55:05 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-03-31 16:55:05 +0000 |
commit | fe1ace003aac09457ee7c5d9f85a23f62efca821 (patch) | |
tree | 42047ec361516bf2618ca06c15e9bbbf61e47c7a /lib | |
parent | b2aa215ef3a50d57d12d35d60d19e5a0db1026a9 (diff) |
Expose SSL_set_hostflags(3) and SSL_get0_peername(3)
ok bcook inoguchi jsing
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/Symbols.list | 2 | ||||
-rw-r--r-- | lib/libssl/ssl.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/Symbols.list b/lib/libssl/Symbols.list index f857ecb2623..9234cf6e51a 100644 --- a/lib/libssl/Symbols.list +++ b/lib/libssl/Symbols.list @@ -196,6 +196,7 @@ SSL_get0_alpn_selected SSL_get0_chain_certs SSL_get0_next_proto_negotiated SSL_get0_param +SSL_get0_peername SSL_get1_session SSL_get1_supported_ciphers SSL_get_SSL_CTX @@ -274,6 +275,7 @@ SSL_set_debug SSL_set_ex_data SSL_set_fd SSL_set_generate_session_id +SSL_set_hostflags SSL_set_info_callback SSL_set_max_proto_version SSL_set_min_proto_version diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index 81434640398..5665a091798 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.184 2021/03/31 16:52:15 tb Exp $ */ +/* $OpenBSD: ssl.h,v 1.185 2021/03/31 16:55:04 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1452,10 +1452,8 @@ int SSL_set_purpose(SSL *s, int purpose); 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 X509_VERIFY_PARAM *SSL_CTX_get0_param(SSL_CTX *ctx); int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm); |