Skip to content

Commit

Permalink
build: do not define ASN1_time_parse when using openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
katekm authored and aberaud committed Aug 27, 2023
1 parent 899d189 commit 3a8adb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compat/os_cert.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <openssl/x509.h>

#if (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER > 0x20501000L))
#if ((defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER > 0x20501000L)) || defined(OPENSSL_VERSION_NUMBER))
#define EMBEDDED_ASN1_TIME_PARSE 0
#else
#define EMBEDDED_ASN1_TIME_PARSE 1
Expand Down

0 comments on commit 3a8adb4

Please sign in to comment.