diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2015-01-09 16:44:41 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2015-01-09 16:44:41 +0000 |
commit | 3dc00b81646e9dffdbaf6181af79d37a7c80b552 (patch) | |
tree | 671ddb52e107d869504d39a0b78c6ed6f22e0a06 /ftp | |
parent | d78e5a106c08ef722f9156391b1bd8246810c2db (diff) | |
download | ports-3dc00b81646e9dffdbaf6181af79d37a7c80b552.tar.gz ports-3dc00b81646e9dffdbaf6181af79d37a7c80b552.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/pavuk/files/patch-src-myssl_openssl.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ftp/pavuk/files/patch-src-myssl_openssl.c b/ftp/pavuk/files/patch-src-myssl_openssl.c new file mode 100644 index 000000000000..da262dff42fe --- /dev/null +++ b/ftp/pavuk/files/patch-src-myssl_openssl.c @@ -0,0 +1,19 @@ +--- src/myssl_openssl.c.orig 2005-08-15 08:59:30 UTC ++++ src/myssl_openssl.c +@@ -543,12 +543,16 @@ bufio *my_ssl_do_connect(doc * docp, buf + + switch (cfg.ssl_version) + { ++#ifndef OPENSSL_NO_SSL2 + case 2: + method = SSLv2_client_method(); + break; ++#endif ++#ifndef OPENSSL_NO_SSL3_METHOD + case 3: + method = SSLv3_client_method(); + break; ++#endif + #ifdef WITH_SSL_TLS1 + case 4: + method = TLSv1_client_method(); |