From cb0f2ac922b9463949b42cd26fbb25cef9da24a3 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 23 Mar 2015 21:09:48 +0000 Subject: [PATCH] Fix build of net/mpd5, after SSLv2 was disabled in base. Approved by: portmgr (bdrewery) PR: 198791 --- .../patch-src__contrib__libpdel__http__http_server.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/mpd5/files/patch-src__contrib__libpdel__http__http_server.c diff --git a/net/mpd5/files/patch-src__contrib__libpdel__http__http_server.c b/net/mpd5/files/patch-src__contrib__libpdel__http__http_server.c new file mode 100644 index 000000000000..c6470fa7c69c --- /dev/null +++ b/net/mpd5/files/patch-src__contrib__libpdel__http__http_server.c @@ -0,0 +1,11 @@ +--- src/contrib/libpdel/http/http_server.c.orig 2013-06-11 11:00:00.000000000 +0200 ++++ src/contrib/libpdel/http/http_server.c 2015-03-23 21:01:49.295512000 +0100 +@@ -197,7 +197,7 @@ http_server_start(struct pevent_ctx *ctx + _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; + }