1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/security/distcache/files/patch-ssl__swamp__swamp.h
John Marino 3e44fb49d9 security/distcache: Configure SSL base, fix build on LibreSSL
While here, simplify existing patch for modern FreeBSD and DragonFly
2016-09-12 13:23:47 +00:00

13 lines
425 B
C

--- ssl/swamp/swamp.h.orig 2004-02-17 20:29:34 UTC
+++ ssl/swamp/swamp.h
@@ -161,7 +161,9 @@ char *util_parse_escaped_string(const ch
typedef enum st_swamp_sslmeth {
SWAMP_SSLMETH_NORMAL, /* SSLv23_client_method() */
+#ifndef OPENSSL_NO_SSL2
SWAMP_SSLMETH_SSLv2, /* SSLv2_client_method() */
+#endif
SWAMP_SSLMETH_SSLv3, /* SSLv3_client_method() */
SWAMP_SSLMETH_TLSv1 /* TLSv1_client_method() */
} swamp_sslmeth;