mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- fix EVP_DecryptUpdate with OpenSSL versions 1.0.2r and 1.1.1b
PR: 242162 Reported by: arkel.fr Obtained from: https://github.com/gsliepen/tinc/commit/2b0aeec02d64bb4724da9ff1dbc19b7d35d7c90
This commit is contained in:
parent
2b022808db
commit
3f02e0abb4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518353
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= tinc
|
||||
PORTVERSION= 1.1pre17
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= security net-vpn
|
||||
MASTER_SITES= https://www.tinc-vpn.org/packages/ \
|
||||
http://www.tinc-vpn.org/packages/
|
||||
|
11
security/tinc-devel/files/patch-cipher.c
Normal file
11
security/tinc-devel/files/patch-cipher.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/openssl/cipher.c.orig 2018-10-07 11:43:07 UTC
|
||||
+++ src/openssl/cipher.c
|
||||
@@ -189,7 +189,7 @@ bool cipher_decrypt(cipher_t *cipher, const void *inda
|
||||
} else {
|
||||
int len;
|
||||
|
||||
- if(EVP_EncryptUpdate(cipher->ctx, outdata, &len, indata, inlen)) {
|
||||
+ if(EVP_DecryptUpdate(cipher->ctx, outdata, &len, indata, inlen)) {
|
||||
if(outlen) {
|
||||
*outlen = len;
|
||||
}
|
Loading…
Reference in New Issue
Block a user