aports/community/openvas-manager/backport-r29476.patch
Francesco Colista 987091923b 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.
2017-09-04 10:34:34 +00:00

14 lines
651 B
Diff

--- 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);