From f0d9757cafef98a346088b9f7fa988964e301c67 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Mon, 16 Jan 2023 15:21:29 +0000 Subject: QUIC: Control SSL option setting Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/20061) --- include/internal/quic_ssl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/internal/quic_ssl.h b/include/internal/quic_ssl.h index cfcd3a6b92..48f05bfb7c 100644 --- a/include/internal/quic_ssl.h +++ b/include/internal/quic_ssl.h @@ -38,7 +38,6 @@ __owur int ossl_quic_key_update(SSL *s, int update_type); __owur int ossl_quic_get_key_update_type(const SSL *s); __owur int ossl_quic_num_ciphers(void); __owur const SSL_CIPHER *ossl_quic_get_cipher(unsigned int u); -__owur int ossl_quic_set_ssl_op(SSL *ssl, uint64_t op); int ossl_quic_renegotiate_check(SSL *ssl, int initok); typedef struct quic_conn_st QUIC_CONNECTION; @@ -96,6 +95,10 @@ __owur int ossl_quic_get_conn_close_info(SSL *ssl, SSL_CONN_CLOSE_INFO *info, size_t info_len); +uint64_t ossl_quic_set_options(SSL *s, uint64_t opts); +uint64_t ossl_quic_clear_options(SSL *s, uint64_t opts); +uint64_t ossl_quic_get_options(const SSL *s); + /* * Used to override ossl_time_now() for debug purposes. While this may be * overridden at any time, expect strange results if you change it after -- cgit v1.2.3