1
0
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:
Dirk Meyer 2022-02-25 10:32:16 +01:00
parent 488cda46dc
commit 66b541d491
2 changed files with 1 additions and 11 deletions

View File

@ -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/

View File

@ -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;
}