mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
security/tinc-devel: fix regression with some openssl versions
PR: 262107
This commit is contained in:
parent
488cda46dc
commit
66b541d491
@ -1,5 +1,6 @@
|
||||
PORTNAME= tinc
|
||||
PORTVERSION= 1.1pre18
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security net-vpn
|
||||
MASTER_SITES= https://www.tinc-vpn.org/packages/ \
|
||||
http://www.tinc-vpn.org/packages/
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- 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