1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

Make it work without SSLv2 support.

This commit is contained in:
Jung-uk Kim 2015-03-23 23:41:08 +00:00
parent 67ac109eab
commit 5b78f3f265
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382056
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= libpdel
PORTVERSION= 0.5.3
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= devel net www
MASTER_SITES= LOCAL/archie

View File

@ -0,0 +1,11 @@
--- http/http_server.c.orig 2005-01-21 16:01:58.000000000 -0500
+++ http/http_server.c 2015-03-23 19:34:45.664653000 -0400
@@ -197,7 +197,7 @@
_http_ssl_init();
/* Initialize SSL context for this server */
- if ((serv->ssl = SSL_CTX_new(SSLv2_server_method())) == NULL) {
+ if ((serv->ssl = SSL_CTX_new(SSLv23_server_method())) == NULL) {
ssl_log(http_server_ssl_logger, serv);
goto fail;
}