svn commit: r518353 - in head/security/tinc-devel: . files

Dirk Meyer dinoex at FreeBSD.org
Sun Nov 24 19:16:41 UTC 2019


Author: dinoex
Date: Sun Nov 24 19:16:40 2019
New Revision: 518353
URL: https://svnweb.freebsd.org/changeset/ports/518353

Log:
  - 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

Added:
  head/security/tinc-devel/files/patch-cipher.c   (contents, props changed)
Modified:
  head/security/tinc-devel/Makefile

Modified: head/security/tinc-devel/Makefile
==============================================================================
--- head/security/tinc-devel/Makefile	Sun Nov 24 19:09:14 2019	(r518352)
+++ head/security/tinc-devel/Makefile	Sun Nov 24 19:16:40 2019	(r518353)
@@ -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/

Added: head/security/tinc-devel/files/patch-cipher.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/tinc-devel/files/patch-cipher.c	Sun Nov 24 19:16:40 2019	(r518353)
@@ -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;
+ 			}


More information about the svn-ports-all mailing list