Fredrik Fornwall
6 years ago
2 changed files with 2 additions and 22 deletions
@ -1,8 +1,7 @@ |
|||
TERMUX_PKG_HOMEPAGE=https://www.libssh2.org |
|||
TERMUX_PKG_DESCRIPTION="Client-side library implementing the SSH2 protocol" |
|||
TERMUX_PKG_LICENSE="BSD 3-Clause" |
|||
TERMUX_PKG_VERSION=1.8.2 |
|||
TERMUX_PKG_REVISION=1 |
|||
TERMUX_PKG_SHA256=088307d9f6b6c4b8c13f34602e8ff65d21c2dc4d55284dfe15d502c4ee190d67 |
|||
TERMUX_PKG_VERSION=1.9.0 |
|||
TERMUX_PKG_SHA256=d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd |
|||
TERMUX_PKG_SRCURL=https://www.libssh2.org/download/libssh2-$TERMUX_PKG_VERSION.tar.gz |
|||
TERMUX_PKG_DEPENDS="openssl, zlib" |
|||
|
@ -1,19 +0,0 @@ |
|||
diff -u -r ../libssh2-1.8.0/src/openssl.h ./src/openssl.h
|
|||
--- ../libssh2-1.8.0/src/openssl.h 2016-02-17 21:59:57.000000000 +0000
|
|||
+++ ./src/openssl.h 2018-09-12 04:35:42.346414320 +0000
|
|||
@@ -226,10 +226,15 @@
|
|||
#define libssh2_hmac_cleanup(ctx) HMAC_cleanup(ctx) |
|||
#endif |
|||
|
|||
+#ifdef OPENSSL_NO_ENGINE
|
|||
+#define libssh2_crypto_init() \
|
|||
+ OpenSSL_add_all_algorithms()
|
|||
+#else
|
|||
#define libssh2_crypto_init() \ |
|||
OpenSSL_add_all_algorithms(); \ |
|||
ENGINE_load_builtin_engines(); \ |
|||
ENGINE_register_all_complete() |
|||
+#endif
|
|||
|
|||
#define libssh2_crypto_exit() |
|||
|
Loading…
Reference in new issue