1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00

add DISABLE_CRL

This commit is contained in:
stefanocasazza 2019-09-20 20:52:48 +02:00
parent 160bb7832d
commit 1bdf7923c8
2 changed files with 10 additions and 7 deletions

View File

@ -27,6 +27,9 @@
# include <openssl/x509_vfy.h> # include <openssl/x509_vfy.h>
# include <ulib/base/ssl/dgst.h> # include <ulib/base/ssl/dgst.h>
typedef int (*verify_cb)(int,X509_STORE_CTX*); /* error callback */ typedef int (*verify_cb)(int,X509_STORE_CTX*); /* error callback */
#ifdef DISABLE_CRL
# define U_STORE_FLAGS 0
# else
# ifndef X509_V_FLAG_CRL_CHECK # ifndef X509_V_FLAG_CRL_CHECK
# define X509_V_FLAG_CRL_CHECK 0x4 # define X509_V_FLAG_CRL_CHECK 0x4
# endif # endif

View File

@ -1 +1 @@
0620 0625