aboutsummaryrefslogtreecommitdiffstats
path: root/community/heirloom-mailx/libressl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/heirloom-mailx/libressl.patch')
-rw-r--r--community/heirloom-mailx/libressl.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/community/heirloom-mailx/libressl.patch b/community/heirloom-mailx/libressl.patch
deleted file mode 100644
index 992b576f4c..0000000000
--- a/community/heirloom-mailx/libressl.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff --git a/openssl.c b/openssl.c
-index b4e33fc..a7c57e7 100644
---- a/openssl.c
-+++ b/openssl.c
-@@ -135,6 +135,7 @@ ssl_rand_init(void)
- char *cp;
- int state = 0;
-
-+#ifndef OPENSSL_NO_EGD
- if ((cp = value("ssl-rand-egd")) != NULL) {
- cp = expand(cp);
- if (RAND_egd(cp) == -1) {
-@@ -143,7 +144,9 @@ ssl_rand_init(void)
- cp);
- } else
- state = 1;
-- } else if ((cp = value("ssl-rand-file")) != NULL) {
-+ } else
-+#endif
-+ if ((cp = value("ssl-rand-file")) != NULL) {
- cp = expand(cp);
- if (RAND_load_file(cp, 1024) == -1) {
- fprintf(stderr, catgets(catd, CATSET, 246,
-@@ -216,11 +219,17 @@ ssl_select_method(const char *uhp)
-
- cp = ssl_method_string(uhp);
- if (cp != NULL) {
-+#if !defined(OPENSSL_NO_SSL2) && OPENSSL_VERSION_NUMBER < 0x10100000L
- if (equal(cp, "ssl2"))
- method = SSLv2_client_method();
-- else if (equal(cp, "ssl3"))
-+ else
-+#endif
-+#if !defined(OPENSSL_NO_SSL3_METHOD)
-+ if (equal(cp, "ssl3"))
- method = SSLv3_client_method();
-- else if (equal(cp, "tls1"))
-+ else
-+#endif
-+ if (equal(cp, "tls1"))
- method = TLSv1_client_method();
- else {
- fprintf(stderr, catgets(catd, CATSET, 244,