Support setting of "no purpose" for trust.
[openssl.git] / crypto / x509 / x509_vfy.h
index 58eff53f7211bd4c2dc2413b41de6d42b32adf1e..a8d61e6e43f58d16358c510f7b13901636763f36 100644 (file)
@@ -416,6 +416,8 @@ void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
 #define X509_V_FLAG_SUITEB_192_LOS             0x20000
 /* Suite B 128 bit mode allowing 192 bit algorithms */
 #define X509_V_FLAG_SUITEB_128_LOS             0x30000
+/* Allow partial chains if at least one certificate is in trusted store */
+#define X509_V_FLAG_PARTIAL_CHAIN              0x80000
 
 
 #define X509_VP_FLAG_DEFAULT                   0x1