From: Stefan Eissing Date: Wed, 6 Dec 2023 18:03:42 +0000 (+0100) Subject: sectransp_ make TLSCipherNameForNumber() available in non-verbose config X-Git-Tag: curl-8_6_0~251 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8b99e6f23ffbb29b7966efa15c28daa340a76025;p=thirdparty%2Fcurl.git sectransp_ make TLSCipherNameForNumber() available in non-verbose config Reported-by: Cajus Pollmeier Closes #12476 Fixes #12474 --- diff --git a/lib/vtls/sectransp.c b/lib/vtls/sectransp.c index 0a22ff60be..e3205e3acd 100644 --- a/lib/vtls/sectransp.c +++ b/lib/vtls/sectransp.c @@ -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)