]> git.pld-linux.org Git - packages/libnasl.git/commitdiff
- up to 2.2.11; needs openssl 1.1 fix
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 22 Sep 2018 15:19:12 +0000 (17:19 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 22 Sep 2018 15:19:12 +0000 (17:19 +0200)
libnasl-openssl.patch [new file with mode: 0644]
libnasl.spec

diff --git a/libnasl-openssl.patch b/libnasl-openssl.patch
new file mode 100644 (file)
index 0000000..6b905bf
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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 df866ab09c8e83bc9fea9ed1a3ae0cb5cd6da947..f55b5d340991ba74f89702b416dd6858d34a4184 100644 (file)
@@ -1,16 +1,18 @@
 Summary:       NASL libraries
 Summary(pl.UTF-8):     Biblioteki NASL
 Name:          libnasl
-Version:       2.2.7
-Release:       7
+Version:       2.2.11
+Release:       1
 License:       GPL
 Vendor:                Nessus Project
 Group:         Networking
-Source0:       ftp://ftp.nessus.org/pub/nessus/nessus-%{version}/src/%{name}-%{version}.tar.gz
-# Source0-md5: 37f6f0db022dad1e218371909de3e8af
+# Source0:     ftp://ftp.nessus.org/pub/nessus/nessus-%{version}/src/%{name}-%{version}.tar.gz
+Source0:       %{name}-%{version}.tar.gz
+# Source0-md5: 02889e4829b68cb9d0d827ccdba5db1d
 Patch0:                %{name}-ac_fix.patch
 Patch1:                %{name}-linkshared.patch
 Patch2:                %{name}-libtool.patch
+Patch3:                libnasl-openssl.patch
 URL:           http://www.nessus.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -83,6 +85,7 @@ Biblioteki statyczne NASL-a.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p0
 
 %build
 %{__libtoolize}
This page took 0.104228 seconds and 4 git commands to generate.