@@ -28,9 +28,10 @@ typedef enum crl_reason_t crl_reason_t;
|
|||||||
#include <library.h>
|
#include <library.h>
|
||||||
#include <credentials/certificates/certificate.h>
|
#include <credentials/certificates/certificate.h>
|
||||||
|
|
||||||
/* <wincrypt.h> comes with CRL_REASON clashing with ours. Even if the values
|
/* <wincrypt.h> comes with CRL_REASON clashing with ours. The same is true for
|
||||||
* are identical, we undef them here to use our enum instead of defines. */
|
* OpenSSL 3.0. Even if the values are identical, we undef them here to use our
|
||||||
#ifdef WIN32
|
* enum instead of defines. */
|
||||||
|
#ifdef CRL_REASON_UNSPECIFIED
|
||||||
# undef CRL_REASON_UNSPECIFIED
|
# undef CRL_REASON_UNSPECIFIED
|
||||||
# undef CRL_REASON_KEY_COMPROMISE
|
# undef CRL_REASON_KEY_COMPROMISE
|
||||||
# undef CRL_REASON_CA_COMPROMISE
|
# undef CRL_REASON_CA_COMPROMISE
|
||||||
|
|||||||
Reference in New Issue
Block a user