Differential D14699 Diff 40431 net-p2p/transmission/files/patch-libtransmission_crypto-utils-openssl.c
Changeset View
Changeset View
Standalone View
Standalone View
net-p2p/transmission/files/patch-libtransmission_crypto-utils-openssl.c
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- libtransmission/crypto-utils-openssl.c.orig 2018-03-17 02:51:58 UTC | |||||
+++ libtransmission/crypto-utils-openssl.c | |||||
@@ -147,7 +147,7 @@ tr_sha1_final (tr_sha1_ctx_t handle, | |||||
**** | |||||
***/ | |||||
-#if OPENSSL_VERSION_NUMBER < 0x0090802fL | |||||
+#if OPENSSL_VERSION_NUMBER < 0x0090802fL || defined(LIBRESSL_VERSION_NUMBER) | |||||
static EVP_CIPHER_CTX * | |||||
openssl_evp_cipher_context_new (void) | |||||
@@ -230,7 +230,7 @@ tr_rc4_process (tr_rc4_ctx_t handle, | |||||
**** | |||||
***/ | |||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000 | |||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) | |||||
static inline int | |||||
DH_set0_pqg (DH * dh, | |||||
BIGNUM * p, |