aboutsummaryrefslogtreecommitdiffstats
path: root/community/openvas-manager/backport-r29476.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-04 10:34:34 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-04 10:34:34 +0000
commit987091923bd8a9d066a3f86ae1cf42870f018bc1 (patch)
treecdca11cfcac91d81a66e0d9362a18a2f5b3e8cf1 /community/openvas-manager/backport-r29476.patch
parent9b02248ef56438695854abc7da5756eb3d50cd54 (diff)
downloadaports-987091923bd8a9d066a3f86ae1cf42870f018bc1.tar.bz2
aports-987091923bd8a9d066a3f86ae1cf42870f018bc1.tar.xz
community/openvas-manager: added patch not yet included in upstream (r29475). Modernize APKBUILD
As described here: https://lists.wald.intevation.org/pipermail/openvas-commits/2017-August/029526.html Backport r29475. * src/gvmd.c (fork_connection_internal): Use the client cert to connect back to ourself, because the server cert may not be marked for such usage, which would result in a key usage violation.
Diffstat (limited to 'community/openvas-manager/backport-r29476.patch')
-rw-r--r--community/openvas-manager/backport-r29476.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/openvas-manager/backport-r29476.patch b/community/openvas-manager/backport-r29476.patch
new file mode 100644
index 0000000000..8fa21c4128
--- /dev/null
+++ b/community/openvas-manager/backport-r29476.patch
@@ -0,0 +1,13 @@
+--- openvas-manager-7.0/src/openvasmd.c 2017-08-30 21:03:46 UTC (rev 29475)
++++ openvas-manager-7.0/src/openvasmd.c 2017-08-30 21:25:35 UTC (rev 29476)
+@@ -661,8 +661,8 @@
+ {
+ if (openvas_server_new (GNUTLS_CLIENT,
+ CACERT,
+- SCANNERCERT,
+- SCANNERKEY,
++ CLIENTCERT,
++ CLIENTKEY,
+ &client_connection->session,
+ &client_connection->credentials))
+ exit (EXIT_FAILURE);