Hi,

If it works for you - maintainer ok.

2015-07-18 21:48 GMT+03:00 Jérémie Courrèges-Anglas <j...@wxcvbn.org>:
>
> Hi,
>
> this patch will allow kamailio to build when SSLv3 support will be
> removed from libressl.  Same pattern as for SSLv2.
>
> ok?
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/telephony/kamailio/Makefile,v
> retrieving revision 1.30
> diff -u -p -r1.30 Makefile
> --- Makefile    13 Sep 2014 18:09:22 -0000      1.30
> +++ Makefile    18 Jul 2015 18:45:38 -0000
> @@ -16,6 +16,7 @@ PKGNAME-snmpstats =   kamailio-snmpstats-$
>  PKGNAME-perl =         kamailio-perl-${VERSION}
>  #PKGNAME-radius =      kamailio-radius-${VERSION}      TODO
>
> +REVISION-main =                0
>  REVISION-mysql =       2
>
>  CATEGORIES =           telephony
> Index: patches/patch-modules_tls_tls_init_c
> ===================================================================
> RCS file: patches/patch-modules_tls_tls_init_c
> diff -N patches/patch-modules_tls_tls_init_c
> --- /dev/null   1 Jan 1970 00:00:00 -0000
> +++ patches/patch-modules_tls_tls_init_c        18 Jul 2015 18:45:38 -0000
> @@ -0,0 +1,15 @@
> +$OpenBSD$
> +--- modules/tls/tls_init.c.orig        Mon Mar 11 09:27:18 2013
> ++++ modules/tls/tls_init.c     Sat Jul 18 12:09:30 2015
> +@@ -347,9 +347,11 @@ static void init_ssl_methods(void)
> +       ssl_methods[TLS_USE_SSLv2 - 1] = SSLv2_method();
> + #endif
> +
> ++#ifndef OPENSSL_NO_SSL3
> +       ssl_methods[TLS_USE_SSLv3_cli - 1] = SSLv3_client_method();
> +       ssl_methods[TLS_USE_SSLv3_srv - 1] = SSLv3_server_method();
> +       ssl_methods[TLS_USE_SSLv3 - 1] = SSLv3_method();
> ++#endif
> +
> +       ssl_methods[TLS_USE_TLSv1_cli - 1] = TLSv1_client_method();
> +       ssl_methods[TLS_USE_TLSv1_srv - 1] = TLSv1_server_method();
>
>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to