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

Fix build of net/mpd5, after SSLv2 was disabled in base.

Approved by:	portmgr (bdrewery)
PR:		198791
This commit is contained in:
Dimitry Andric 2015-03-23 21:09:48 +00:00
parent 4ac087e9d4
commit cb0f2ac922
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382043

View File

@ -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;
}