add -trusted_first option and verify flag (backport from HEAD)
[openssl.git] / crypto / x509 / x509_vfy.h
index fe09b30aaa62dff07d2735de0ae4596a7974a530..d53f3e386950311775b45731464b6374a2e08550 100644 (file)
@@ -389,6 +389,8 @@ void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
 #define X509_V_FLAG_USE_DELTAS                 0x2000
 /* Check selfsigned CA signature */
 #define X509_V_FLAG_CHECK_SS_SIGNATURE         0x4000
+/* Use trusted store first */
+#define X509_V_FLAG_TRUSTED_FIRST              0x8000
 
 
 #define X509_VP_FLAG_DEFAULT                   0x1