aboutsummaryrefslogtreecommitdiffstats
path: root/testing/x11vnc/libressl.patch
diff options
context:
space:
mode:
authorTuan M. Hoang <tmhoang@flatglobe.org>2017-03-24 17:23:44 -0400
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-28 10:10:56 +0000
commit1317ce75e4afeb4f931dd686ebc366f293b883f7 (patch)
tree9b476dabdcfdb8eb88cd77f7827ebaf96aaba763 /testing/x11vnc/libressl.patch
parent41e33f3dd86879cc787cfbcbe67867adfafd801e (diff)
downloadaports-1317ce75e4afeb4f931dd686ebc366f293b883f7.tar.bz2
aports-1317ce75e4afeb4f931dd686ebc366f293b883f7.tar.xz
testing/x11vnc: move from unmaintained, take maintainership
Diffstat (limited to 'testing/x11vnc/libressl.patch')
-rw-r--r--testing/x11vnc/libressl.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/x11vnc/libressl.patch b/testing/x11vnc/libressl.patch
new file mode 100644
index 0000000000..e650c92d7b
--- /dev/null
+++ b/testing/x11vnc/libressl.patch
@@ -0,0 +1,15 @@
+diff --git a/src/enc.h b/src/enc.h
+index 55d49bb..edf8f6b 100644
+--- a/src/enc.h
++++ b/src/enc.h
+@@ -454,8 +454,10 @@ extern void enc_do(char *ciph, char *keyfile, char *lport, char *rhp) {
+ p++;
+ if (strstr(p, "md5+") == p) {
+ Digest = EVP_md5(); p += strlen("md5+");
++#ifndef OPENSSL_NO_SHA0
+ } else if (strstr(p, "sha+") == p) {
+ Digest = EVP_sha(); p += strlen("sha+");
++#endif
+ } else if (strstr(p, "sha1+") == p) {
+ Digest = EVP_sha1(); p += strlen("sha1+");
+ } else if (strstr(p, "ripe+") == p) {