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

index 1c68ce3352ccce0ffb4c2aefc8806f99f685b4e4..846a903e9322e463213d45620f6f0133a7e2a157 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