Skip to content

Commit

Permalink
sectransp_ make TLSCipherNameForNumber() available in non-verbose config
Browse files Browse the repository at this point in the history
Reported-by: Cajus Pollmeier
Closes curl#12476
Fixes curl#12474
  • Loading branch information
icing authored and bagder committed Dec 6, 2023
1 parent a17f041 commit 8b99e6f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/vtls/sectransp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 8b99e6f

Please sign in to comment.