summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-03-29 16:25:00 +0100
committerPauli <pauli@openssl.org>2023-04-04 09:06:18 +1000
commit50769b15ea76123406b5ccebe85b2402e64e9fc6 (patch)
treeb16643909c459aa6c1dd2ca246d9e4915205b52f /util
parenta76ccb9d0ddc24f6551afbc220b41fb3c4e64c6a (diff)
downloadopenssl-new-50769b15ea76123406b5ccebe85b2402e64e9fc6.tar.gz
Make sure we can query the SSL object for version info when using QUIC
We have the existing functions SSL_version(), SSL_get_version() and SSL_is_dtls(). We extend the first two to return something sensible when using QUIC. We additionally provide the new functions SSL_is_tls() and SSL_is_quic() to provide a mechanism to figure out what protocol we are using. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20650)
Diffstat (limited to 'util')
-rw-r--r--util/libssl.num2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/libssl.num b/util/libssl.num
index 6bb916d63e..6e60aa8e93 100644
--- a/util/libssl.num
+++ b/util/libssl.num
@@ -558,3 +558,5 @@ SSL_get_negotiated_client_cert_type ? 3_2_0 EXIST::FUNCTION:
SSL_get_negotiated_server_cert_type ? 3_2_0 EXIST::FUNCTION:
SSL_add_expected_rpk ? 3_2_0 EXIST::FUNCTION:
d2i_SSL_SESSION_ex ? 3_2_0 EXIST::FUNCTION:
+SSL_is_tls ? 3_2_0 EXIST::FUNCTION:
+SSL_is_quic ? 3_2_0 EXIST::FUNCTION: