From e94c9130f87b0b85665572a7035834683f0032cf Mon Sep 17 00:00:00 2001
From: genone <genone@gentoo.org>
Date: Sun, 25 Jun 2006 00:56:11 +0000
Subject: [PATCH] update cve code for bug 128115

svn path=/; revision=301
---
 trunk/ChangeLog                 | 3 +++
 trunk/src/glsa-check/glsa-check | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index 9d3cec2..c40ca66 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,3 +1,6 @@
+2006-06-25 Marius Mauch <genone@gentoo.org>
+	* glsa-check: update cve code for bug 128115
+
 2006-06-14 Paul Varner <fuzzyray@gentoo.org>
 	* gentoolkit: Fix package.py to honor $ROOT. (bug #136811)
 
diff --git a/trunk/src/glsa-check/glsa-check b/trunk/src/glsa-check/glsa-check
index 6545e9c..0131b03 100644
--- a/trunk/src/glsa-check/glsa-check
+++ b/trunk/src/glsa-check/glsa-check
@@ -196,7 +196,7 @@ if mode == "list":
 
 		sys.stdout.write(")")
 		if list_cve:
-			sys.stdout.write(" "+(",".join([r[:13] for r in myglsa.references if r[:4] == "CAN-"])))
+			sys.stdout.write(" "+(",".join([r[:13] for r in myglsa.references if r[:4] in ["CAN-", "CVE-"]])))
 		sys.stdout.write("\n")		
 	sys.exit(0)
 
-- 
2.26.2