summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-23 04:43:36 +0000
committerSam James <sam@gentoo.org>2023-03-23 04:56:51 +0000
commit0f2d52caeae7b364e291c73fd9ceabd90dd1b7fa (patch)
treec1851eec48bcfe6a4f107babd5744403da9a891f
parentnet-libs/libvncserver: fix openssl crypto backend (diff)
downloadgentoo-0f2d52caeae7b364e291c73fd9ceabd90dd1b7fa.tar.gz
gentoo-0f2d52caeae7b364e291c73fd9ceabd90dd1b7fa.tar.bz2
gentoo-0f2d52caeae7b364e291c73fd9ceabd90dd1b7fa.zip
net-libs/libvncserver: add patch metadata
Bug: https://bugs.gentoo.org/893608 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch9
1 files changed, 3 insertions, 6 deletions
diff --git a/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch b/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch
index d4c76773b02c..85179ee5ae61 100644
--- a/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch
+++ b/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch
@@ -1,3 +1,6 @@
+https://github.com/LibVNC/libvncserver/commit/b686f379c34114cf938fe88291f58014337558f6
+https://bugs.gentoo.org/893608
+
From b686f379c34114cf938fe88291f58014337558f6 Mon Sep 17 00:00:00 2001
From: Gaurav Ujjwal <gujjwal00@gmail.com>
Date: Mon, 23 Jan 2023 00:03:03 +0530
@@ -6,12 +9,6 @@ Subject: [PATCH] common/crypto_openssl: pad DH key buffers with leading zeros
Re: https://github.com/LibVNC/libvncserver/issues/493
Re: https://github.com/bk138/multivnc/issues/202
----
- common/crypto_openssl.c | 18 ++++++++++++++++--
- 1 file changed, 16 insertions(+), 2 deletions(-)
-
-diff --git a/common/crypto_openssl.c b/common/crypto_openssl.c
-index 50e8073a..dc1ee093 100644
--- a/common/crypto_openssl.c
+++ b/common/crypto_openssl.c
@@ -156,6 +156,15 @@ int encrypt_aes128ecb(void *out, int *out_len, const unsigned char key[16], cons