diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-03-23 23:52:26 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-03-23 23:52:26 +0000 |
commit | abd4f2448177398b001a3057b0437bf2f32e3a9a (patch) | |
tree | 52ee5203ce2d7ae9eb677ddb6f1960bf487bfbbf /security/distcache | |
parent | 5b78f3f2654e1117ee548890f132701d6d49368a (diff) | |
download | ports-abd4f2448177398b001a3057b0437bf2f32e3a9a.tar.gz ports-abd4f2448177398b001a3057b0437bf2f32e3a9a.zip |
Notes
Diffstat (limited to 'security/distcache')
-rw-r--r-- | security/distcache/files/patch-ssl__swamp__swamp.c | 13 | ||||
-rw-r--r-- | security/distcache/files/patch-ssl__swamp__swamp.h | 12 | ||||
-rw-r--r-- | security/distcache/files/patch-ssl__swamp__utils.c | 13 |
3 files changed, 38 insertions, 0 deletions
diff --git a/security/distcache/files/patch-ssl__swamp__swamp.c b/security/distcache/files/patch-ssl__swamp__swamp.c new file mode 100644 index 000000000000..abc49335d02b --- /dev/null +++ b/security/distcache/files/patch-ssl__swamp__swamp.c @@ -0,0 +1,13 @@ +--- ssl/swamp/swamp.c.orig 2004-02-19 15:37:33.000000000 -0500 ++++ ssl/swamp/swamp.c 2015-03-23 19:47:07.787300000 -0400 +@@ -104,8 +104,10 @@ + switch(config->sslmeth) { + case SWAMP_SSLMETH_NORMAL: + sslmethod = SSLv23_client_method(); break; ++#ifndef OPENSSL_NO_SSL2 + case SWAMP_SSLMETH_SSLv2: + sslmethod = SSLv2_client_method(); break; ++#endif + case SWAMP_SSLMETH_SSLv3: + sslmethod = SSLv3_client_method(); break; + case SWAMP_SSLMETH_TLSv1: diff --git a/security/distcache/files/patch-ssl__swamp__swamp.h b/security/distcache/files/patch-ssl__swamp__swamp.h new file mode 100644 index 000000000000..8de5ef1cf0b3 --- /dev/null +++ b/security/distcache/files/patch-ssl__swamp__swamp.h @@ -0,0 +1,12 @@ +--- ssl/swamp/swamp.h.orig 2004-02-17 15:29:34.000000000 -0500 ++++ ssl/swamp/swamp.h 2015-03-23 19:47:20.490894000 -0400 +@@ -161,7 +161,9 @@ + + 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; diff --git a/security/distcache/files/patch-ssl__swamp__utils.c b/security/distcache/files/patch-ssl__swamp__utils.c new file mode 100644 index 000000000000..bb68c905c223 --- /dev/null +++ b/security/distcache/files/patch-ssl__swamp__utils.c @@ -0,0 +1,13 @@ +--- ssl/swamp/utils.c.orig 2004-02-17 15:29:34.000000000 -0500 ++++ ssl/swamp/utils.c 2015-03-23 19:47:34.795067000 -0400 +@@ -269,8 +269,10 @@ + { + if(!strcmp(str_toconvert, "normal")) + *val = SWAMP_SSLMETH_NORMAL; ++#ifndef OPENSSL_NO_SSL2 + else if(!strcmp(str_toconvert, "sslv2")) + *val = SWAMP_SSLMETH_SSLv2; ++#endif + else if(!strcmp(str_toconvert, "sslv3")) + *val = SWAMP_SSLMETH_SSLv3; + else if(!strcmp(str_toconvert, "tlsv1")) |