mirror of
https://github.com/curl/curl.git
synced 2025-09-14 08:02:44 +03:00
sectransp_ make TLSCipherNameForNumber() available in non-verbose config
Reported-by: Cajus Pollmeier Closes #12476 Fixes #12474
This commit is contained in:
parent
a17f041bea
commit
8b99e6f23f
|
@ -906,7 +906,6 @@ static OSStatus sectransp_bio_cf_out_write(SSLConnectionRef connection,
|
||||||
return rtn;
|
return rtn;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef CURL_DISABLE_VERBOSE_STRINGS
|
|
||||||
CF_INLINE const char *TLSCipherNameForNumber(SSLCipherSuite cipher)
|
CF_INLINE const char *TLSCipherNameForNumber(SSLCipherSuite cipher)
|
||||||
{
|
{
|
||||||
/* The first ciphers in the ciphertable are continuous. Here we do small
|
/* 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;
|
return ciphertable[SSL_NULL_WITH_NULL_NULL].name;
|
||||||
}
|
}
|
||||||
#endif /* !CURL_DISABLE_VERBOSE_STRINGS */
|
|
||||||
|
|
||||||
#if CURL_BUILD_MAC
|
#if CURL_BUILD_MAC
|
||||||
CF_INLINE void GetDarwinVersionNumber(int *major, int *minor)
|
CF_INLINE void GetDarwinVersionNumber(int *major, int *minor)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user