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>
13 lines
278 B
Diff
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
|
|
|