Add missing variable length cipher flag for Blowfish.
[openssl.git] / crypto / x509 / x509_trs.c
index c164badbe4b6c782ecf6b53d937e6b06a0c1f767..f0b93489d7fe8fca6550b07cb5fd5eda991e663f 100644 (file)
@@ -241,7 +241,8 @@ int X509_TRUST_get_trust(X509_TRUST *xp)
 
 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags)
 {
-       if(x->aux) return obj_trust(trust->arg1, x, flags);
+       if(x->aux && (x->aux->trust || x->aux->reject))
+               return obj_trust(trust->arg1, x, flags);
        /* we don't have any trust settings: for compatibility
         * we return trusted if it is self signed
         */