mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Treat LibreSSL as an older OpenSSL
This commit is contained in:
parent
0e83bd3193
commit
cbe585dd87
2 changed files with 3 additions and 3 deletions
|
@ -668,7 +668,7 @@ function sct_verify%(cert: opaque of x509, logid: string, log_key: string, signa
|
|||
uint32 cert_length;
|
||||
if ( precert )
|
||||
{
|
||||
#if (OPENSSL_VERSION_NUMBER < 0x10002000L)
|
||||
#if (OPENSSL_VERSION_NUMBER < 0x10002000L || LIBRESSL_VERSION_NUMBER)
|
||||
x->cert_info->enc.modified = 1;
|
||||
cert_length = i2d_X509_CINF(x->cert_info, &cert_out);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue