mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
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:
parent
2fff884c86
commit
0651e05474
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user