aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2022-02-25 09:32:16 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2022-02-25 09:35:14 +0000
commit66b541d491a18c4b7b84504ae79210da81802f05 (patch)
tree5b7346a70649f1600333c78ced828e2269b89931
parent488cda46dcbe89acf79512b0204bc304d97584cd (diff)
downloadports-66b541d491a18c4b7b84504ae79210da81802f05.tar.gz
ports-66b541d491a18c4b7b84504ae79210da81802f05.zip
security/tinc-devel: fix regression with some openssl versions
PR: 262107
-rw-r--r--security/tinc-devel/Makefile1
-rw-r--r--security/tinc-devel/files/patch-cipher.c11
2 files changed, 1 insertions, 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;
- }