git: 66b541d491a1 - main - security/tinc-devel: fix regression with some openssl versions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Feb 2022 09:35:21 UTC
The branch main has been updated by dinoex:
URL: https://cgit.FreeBSD.org/ports/commit/?id=66b541d491a18c4b7b84504ae79210da81802f05
commit 66b541d491a18c4b7b84504ae79210da81802f05
Author: Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2022-02-25 09:32:16 +0000
Commit: Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2022-02-25 09:35:14 +0000
security/tinc-devel: fix regression with some openssl versions
PR: 262107
---
security/tinc-devel/Makefile | 1 +
security/tinc-devel/files/patch-cipher.c | 11 -----------
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/security/tinc-devel/Makefile b/security/tinc-devel/Makefile
index 332f167b1f0e..7844c8ac0d9c 100644
--- a/security/tinc-devel/Makefile
+++ b/security/tinc-devel/Makefile
@@ -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/
diff --git a/security/tinc-devel/files/patch-cipher.c b/security/tinc-devel/files/patch-cipher.c
deleted file mode 100644
index 206b330567de..000000000000
--- a/security/tinc-devel/files/patch-cipher.c
+++ /dev/null
@@ -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;
- }