Update to 2.4.3

Changes:	https://icecast.org/news/libshout-release-2_4_3/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-06-08 20:28:27 +00:00
parent 924dbb3878
commit 7d6d0871d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503751
3 changed files with 4 additions and 22 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= libshout PORTNAME= libshout
PORTVERSION= 2.4.2 PORTVERSION= 2.4.3
CATEGORIES= audio net CATEGORIES= audio net
MASTER_SITES= https://downloads.xiph.org/releases/libshout/ \ MASTER_SITES= https://downloads.xiph.org/releases/libshout/ \
https://svn.xiph.org/releases/libshout/ \ https://svn.xiph.org/releases/libshout/ \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1557673776 TIMESTAMP = 1559998007
SHA256 (libshout-2.4.2.tar.gz) = d51ba4003ca2b81669d37430beaa584e868fe46f46b7a6fef0d25c717156fc61 SHA256 (libshout-2.4.3.tar.gz) = 0d8af55d1141bf90710bcd41a768c9cc5adb251502a0af1dd22c8da215d40dfe
SIZE (libshout-2.4.2.tar.gz) = 519249 SIZE (libshout-2.4.3.tar.gz) = 529563

View file

@ -1,18 +0,0 @@
--- src/tls.c.orig 2019-04-29 10:00:11 UTC
+++ src/tls.c
@@ -88,10 +88,15 @@ static inline int tls_setup(shout_tls_t
{
SSL_METHOD *meth;
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
SSL_library_init();
SSL_load_error_strings();
SSLeay_add_all_algorithms();
SSLeay_add_ssl_algorithms();
+#else
+ OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS, NULL);
+ OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
+#endif
meth = TLSv1_client_method();
if (!meth)