mirror of
https://github.com/curl/curl.git
synced 2026-05-17 20:46:19 +03:00
openssl: sync an AWS-LC guard with BoringSSL
BoringSSL always used the same type: https://boringssl.googlesource.com/boringssl/+/103ed08549a74af9f03363c633028faf9a475066103ed08549But, this codepath isn't built with BoringSSL, because it defines `OPENSSL_NO_OCSP` via `opensslconf.h`. Also drop an out-of-place `#endif` comment. Ref:20f4e94eeb#11568 Closes #18384
This commit is contained in:
parent
1fc622db8e
commit
f67090679f
1 changed files with 2 additions and 2 deletions
|
|
@ -2504,7 +2504,7 @@ static CURLcode verifystatus(struct Curl_cfilter *cf,
|
|||
struct ossl_ctx *octx)
|
||||
{
|
||||
int i, ocsp_status;
|
||||
#ifdef OPENSSL_IS_AWSLC
|
||||
#ifdef HAVE_BORINGSSL_LIKE
|
||||
const uint8_t *status;
|
||||
#else
|
||||
unsigned char *status;
|
||||
|
|
@ -5580,7 +5580,7 @@ size_t Curl_ossl_version(char *buffer, size_t size)
|
|||
(ssleay_value >> 20) & 0xff,
|
||||
(ssleay_value >> 12) & 0xff,
|
||||
sub);
|
||||
#endif /* OPENSSL_IS_BORINGSSL */
|
||||
#endif
|
||||
}
|
||||
|
||||
/* can be called with data == NULL */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue