rpms/libnasl/devel libnasl-openssl.patch, NONE, 1.1 libnasl.spec, 1.16, 1.17

Andreas Bierfert awjb at fedoraproject.org
Mon Jan 12 16:35:29 UTC 2009


Author: awjb

Update of /cvs/pkgs/rpms/libnasl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20902/devel

Modified Files:
	libnasl.spec 
Added Files:
	libnasl-openssl.patch 
Log Message:
- fix #479655


libnasl-openssl.patch:

--- NEW FILE libnasl-openssl.patch ---
--- nasl/nasl_crypto2.c.orig	2009-01-12 17:27:38.000000000 +0100
+++ nasl/nasl_crypto2.c	2009-01-12 17:30:53.000000000 +0100
@@ -644,7 +644,7 @@
   if (BN_bin2bn((const unsigned char*)s, slen, sig->s) == 0)
      goto fail;
 
-  if (DSA_do_verify((unsigned char*)data, datalen, sig, dsa))
+  if (DSA_do_verify((unsigned char*)data, datalen, sig, dsa) == 1)
      retc->x.i_val = 1;
   
 fail:


Index: libnasl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libnasl/devel/libnasl.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- libnasl.spec	1 Dec 2008 14:16:30 -0000	1.16
+++ libnasl.spec	12 Jan 2009 16:34:59 -0000	1.17
@@ -1,6 +1,6 @@
 Name:           libnasl
 Version:        2.2.11
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Nessus Attack Scripting Language
 
 Group:          System Environment/Libraries
@@ -11,6 +11,8 @@
 Patch0:         libnasl-config.patch
 Patch1:         libnasl-2.2.4.pki.patch
 Patch2:         libnasl-nasl-config-multi.patch
+# fix #479655 bad signature check
+Patch3:         libnasl-openssl.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  bison
@@ -55,6 +57,7 @@
 %patch0
 %patch1 -p1
 %patch2
+%patch3
 
 %build
 %configure --enable-shared --disable-static --with-pic
@@ -102,6 +105,10 @@
 %doc %{_datadir}/libnasl/
 
 %changelog
+* Mon Jan 12 2009 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- 2.2.11-3
+- fix #479655
+
 * Mon Dec  1 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 2.2.11-2
 - in doc pkg: include missing dirs and mark files as %%doc
 




More information about the scm-commits mailing list