]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
sectransp_ make TLSCipherNameForNumber() available in non-verbose config
authorStefan Eissing <stefan@eissing.org>
Wed, 6 Dec 2023 18:03:42 +0000 (19:03 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 6 Dec 2023 22:03:35 +0000 (23:03 +0100)
Reported-by: Cajus Pollmeier
Closes #12476
Fixes #12474

lib/vtls/sectransp.c

index 0a22ff60be54839db5c4009d30536912f532bb75..e3205e3acdbb3539867348e0b71e2a689d9277d5 100644 (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)