Date: Sun, 24 Nov 2019 19:16:41 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518353 - in head/security/tinc-devel: . files Message-ID: <201911241916.xAOJGf34091705@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911241916.xAOJGf34091705>