QUIC: Back out version string change

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19703)
This commit is contained in:
Hugo Landau 2022-12-13 12:34:36 +00:00
parent 2fff884c86
commit 0651e05474
1 changed files with 0 additions and 6 deletions

View File

@ -4652,12 +4652,6 @@ const char *ssl_protocol_to_string(int version)
const char *SSL_get_version(const SSL *s)
{
const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s);
#ifndef OPENSSL_NO_QUIC
const QUIC_CONNECTION *qc = QUIC_CONNECTION_FROM_CONST_SSL(s);
if (qc != NULL)
return "QUICv1";
#endif
if (sc == NULL)
return NULL;