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:
parent
160bb7832d
commit
1bdf7923c8
|
@ -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
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0620
|
0625
|
||||||
|
|
Loading…
Reference in New Issue
Block a user