mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 15:29:15 -04:00
PR: 210700 Submitted by: Andris Raugulis Obtained from: https://github.com/Sp1l/freebsd-ports/blob/master/net/x11vnc/files/patch-x11vnc_enc.h
13 lines
478 B
C
13 lines
478 B
C
--- x11vnc/enc.h.orig 2011-08-10 22:31:32 UTC
|
|
+++ x11vnc/enc.h
|
|
@@ -454,8 +454,10 @@ extern void enc_do(char *ciph, char *key
|
|
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) {
|