Provide SSL_is_quic()
authorjsing <jsing@openbsd.org>
Sun, 17 Jul 2022 14:49:01 +0000 (14:49 +0000)
committerjsing <jsing@openbsd.org>
Sun, 17 Jul 2022 14:49:01 +0000 (14:49 +0000)
commita3da52a5b3c5fce349d153702bda0b80b0373647
tree7c6e3f3a7d9cbf6fbb7f8cee3e26d6c6a3b8b01e
parent3293bcf7c592590a2d4b34dd11485cd1836fd475
Provide SSL_is_quic()

This function will allow code to know if the SSL connection is configured
for use with QUIC or not. Also move existing SSL_.*quic.* functions under
LIBRESSL_HAS_QUIC to prevent exposing them prematurely.

ok beck@ tb@
lib/libssl/ssl.h
lib/libssl/ssl_lib.c
lib/libssl/ssl_locl.h