sectransp_ make TLSCipherNameForNumber() available in non-verbose config

Reported-by: Cajus Pollmeier
Closes #12476
Fixes #12474
This commit is contained in:
Stefan Eissing 2023-12-06 19:03:42 +01:00 committed by Daniel Stenberg
parent a17f041bea
commit 8b99e6f23f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -906,7 +906,6 @@ static OSStatus sectransp_bio_cf_out_write(SSLConnectionRef connection,
return rtn;
}
#ifndef CURL_DISABLE_VERBOSE_STRINGS
CF_INLINE const char *TLSCipherNameForNumber(SSLCipherSuite cipher)
{
/* The first ciphers in the ciphertable are continuous. Here we do small
@ -925,7 +924,6 @@ CF_INLINE const char *TLSCipherNameForNumber(SSLCipherSuite cipher)
}
return ciphertable[SSL_NULL_WITH_NULL_NULL].name;
}
#endif /* !CURL_DISABLE_VERBOSE_STRINGS */
#if CURL_BUILD_MAC
CF_INLINE void GetDarwinVersionNumber(int *major, int *minor)