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,12 +27,15 @@
|
|||
# include <openssl/x509_vfy.h>
|
||||
# include <ulib/base/ssl/dgst.h>
|
||||
typedef int (*verify_cb)(int,X509_STORE_CTX*); /* error callback */
|
||||
# ifndef X509_V_FLAG_CRL_CHECK
|
||||
# define X509_V_FLAG_CRL_CHECK 0x4
|
||||
# endif
|
||||
# ifndef X509_V_FLAG_CRL_CHECK_ALL
|
||||
# define X509_V_FLAG_CRL_CHECK_ALL 0x8
|
||||
# endif
|
||||
#ifdef DISABLE_CRL
|
||||
# define U_STORE_FLAGS 0
|
||||
# else
|
||||
# ifndef X509_V_FLAG_CRL_CHECK
|
||||
# define X509_V_FLAG_CRL_CHECK 0x4
|
||||
# endif
|
||||
# ifndef X509_V_FLAG_CRL_CHECK_ALL
|
||||
# define X509_V_FLAG_CRL_CHECK_ALL 0x8
|
||||
# endif
|
||||
# define U_STORE_FLAGS (X509_V_FLAG_CRL_CHECK | X509_V_FLAG_CRL_CHECK_ALL)
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
0620
|
||||
0625
|
||||
|
|
Loading…
Reference in New Issue
Block a user