From owner-svn-ports-all@freebsd.org Sun Nov 24 19:16:41 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D42D51B80A4; Sun, 24 Nov 2019 19:16:41 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47LfzY58skz4MWb; Sun, 24 Nov 2019 19:16:41 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 93CB4BDF; Sun, 24 Nov 2019 19:16:41 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAOJGf5m091707; Sun, 24 Nov 2019 19:16:41 GMT (envelope-from dinoex@FreeBSD.org) Received: (from dinoex@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAOJGf34091705; Sun, 24 Nov 2019 19:16:41 GMT (envelope-from dinoex@FreeBSD.org) Message-Id: <201911241916.xAOJGf34091705@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dinoex set sender to dinoex@FreeBSD.org using -f From: Dirk Meyer Date: Sun, 24 Nov 2019 19:16:41 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: dinoex X-SVN-Commit-Paths: in head/security/tinc-devel: . files X-SVN-Commit-Revision: 518353 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2019 19:16:41 -0000 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; + }