mirror of
https://github.com/openssl/openssl.git
synced 2026-01-18 17:11:31 +01:00
Add OSSL_QUIC_method
Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/27397)
This commit is contained in:
@@ -51,7 +51,8 @@ struct ssl_connection_st *ossl_quic_obj_get0_handshake_layer(QUIC_OBJ *obj);
|
||||
# define IS_QUIC_METHOD(m) \
|
||||
((m) == OSSL_QUIC_client_method() || \
|
||||
(m) == OSSL_QUIC_client_thread_method() || \
|
||||
(m) == OSSL_QUIC_server_method())
|
||||
(m) == OSSL_QUIC_server_method() || \
|
||||
(m) == OSSL_QUIC_method())
|
||||
|
||||
# define IS_QUIC_CTX(ctx) IS_QUIC_METHOD((ctx)->method)
|
||||
|
||||
|
||||
@@ -67,6 +67,11 @@ __owur const SSL_METHOD *OSSL_QUIC_client_thread_method(void);
|
||||
*/
|
||||
__owur const SSL_METHOD *OSSL_QUIC_server_method(void);
|
||||
|
||||
/*
|
||||
* Method used for QUIC client/server connection
|
||||
*/
|
||||
__owur const SSL_METHOD *OSSL_QUIC_method(void);
|
||||
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user