[Pkg-openssl-changes] r192 - in openssl/trunk: crypto/x509v3 debian

Kurt Roeckx kroeckx at alioth.debian.org
Thu Nov 30 22:23:14 CET 2006


Author: kroeckx
Date: 2006-11-30 22:23:13 +0100 (Thu, 30 Nov 2006)
New Revision: 192

Modified:
   openssl/trunk/crypto/x509v3/pcy_tree.c
   openssl/trunk/debian/changelog
Log:
Use & instead of && to check a flag in the X509 policy checking.
Patch from upstream cvs.  (Closes: #397151)


Modified: openssl/trunk/crypto/x509v3/pcy_tree.c
===================================================================
--- openssl/trunk/crypto/x509v3/pcy_tree.c	2006-11-30 21:20:39 UTC (rev 191)
+++ openssl/trunk/crypto/x509v3/pcy_tree.c	2006-11-30 21:23:13 UTC (rev 192)
@@ -197,7 +197,7 @@
 			/* 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

Modified: openssl/trunk/debian/changelog
===================================================================
--- openssl/trunk/debian/changelog	2006-11-30 21:20:39 UTC (rev 191)
+++ openssl/trunk/debian/changelog	2006-11-30 21:23:13 UTC (rev 192)
@@ -5,6 +5,8 @@
  * Make c_rehash look for both .pem and .crt files.  Also make it support
    files in DER format.  Patch by "Yauheni Kaliuta" <y.kaliuta at gmail.com>
    (Closes: #387089)
+ * Use & instead of && to check a flag in the X509 policy checking.
+   Patch from upstream cvs.  (Closes: #397151)
 
  -- Kurt Roeckx <kurt at roeckx.be>  Thu, 30 Nov 2006 20:57:46 +0000
 




More information about the Pkg-openssl-changes mailing list