Typo.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 5 Oct 2006 21:59:50 +0000 (21:59 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 5 Oct 2006 21:59:50 +0000 (21:59 +0000)
crypto/x509v3/pcy_tree.c

index 1c68ce3..846a903 100644 (file)
@@ -197,7 +197,7 @@ static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs,
                        /* Any matching allowed if certificate is self
                         * issued and not the last in the chain.
                         */
-                       if (!(x->ex_flags && EXFLAG_SS) || (i == 0))
+                       if (!(x->ex_flags & EXFLAG_SS) || (i == 0))
                                level->flags |= X509_V_FLAG_INHIBIT_ANY;
                        }
                else