diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-04-18 19:30:54 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-05-12 14:47:11 +0100 |
commit | 020d0389396d0ee01041188a3d1b211a1d6b6c6a (patch) | |
tree | c0055c5858e8593cbe3f5a80aa4ebc61e2b2923f /include | |
parent | 21c80696e51c2b183dad3b19aeb50fe26920f0aa (diff) | |
download | openssl-new-020d0389396d0ee01041188a3d1b211a1d6b6c6a.tar.gz |
QUIC DISPATCH/APL: Implement SSL_get0_connection
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/quic_ssl.h | 1 | ||||
-rw-r--r-- | include/openssl/ssl.h.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/internal/quic_ssl.h b/include/internal/quic_ssl.h index 97ee2c9218..86dca6bb30 100644 --- a/include/internal/quic_ssl.h +++ b/include/internal/quic_ssl.h @@ -66,6 +66,7 @@ BIO *ossl_quic_conn_get_net_wbio(const SSL *s); __owur int ossl_quic_conn_set_initial_peer_addr(SSL *s, const BIO_ADDR *peer_addr); __owur SSL *ossl_quic_conn_stream_new(SSL *s, uint64_t flags); +__owur SSL *ossl_quic_get0_connection(SSL *s); /* * Used to override ossl_time_now() for debug purposes. Must be called before diff --git a/include/openssl/ssl.h.in b/include/openssl/ssl.h.in index 9593e6bfed..869a74ae85 100644 --- a/include/openssl/ssl.h.in +++ b/include/openssl/ssl.h.in @@ -2266,6 +2266,7 @@ __owur int SSL_net_write_desired(SSL *s); __owur int SSL_set_blocking_mode(SSL *s, int blocking); __owur int SSL_get_blocking_mode(SSL *s); __owur int SSL_set_initial_peer_addr(SSL *s, const BIO_ADDR *peer_addr); +__owur SSL *SSL_get0_connection(SSL *s); #define SSL_STREAM_FLAG_UNI (1U << 0) __owur SSL *SSL_new_stream(SSL *s, uint64_t flags); |