packages/multimedia/minisatip/patches/010-openssl.patch
Rosen Penev 0c71486edd
minisatip: Update to 1.0.2
Switched to codeload for simplicity.

Added patch to fix compilation without deprecated OpenSSL APIs.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-05 13:48:59 -08:00

13 lines
278 B
Diff

--- a/src/aes.c
+++ b/src/aes.c
@@ -164,9 +164,9 @@ SCW_op aes_cbc_op =
void init_algo_aes()
{
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
ERR_load_crypto_strings();
OpenSSL_add_all_algorithms();
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
OPENSSL_config(NULL);
#endif