Bug 242162

Summary: security/tinc-devel: Fail with OpenSSL 1.1.1d
Product: Ports & Packages Reporter: bugs.freebsd.org
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Some People Flags: dinoex: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262107

Description bugs.freebsd.org 2019-11-22 21:14:58 UTC
tinc-devel not working on freebsd 12.1 (OpenSSL 1.1.1d)

In error log:
 Error while decrypting: error:060A7094:digital envelope routines:EVP_EncryptUpdate:invalid operation

tinc 1.1pre17 not working with OpenSSL 1.1.1d
https://github.com/gsliepen/tinc/commit/2b0aeec02d64bb4724da9ff1dbc19b7d35d7c904#diff-e10eb6f8bdec586fa44ea8c58cb621e5
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-11-24 19:17:29 UTC
A commit references this bug:

Author: dinoex
Date: Sun Nov 24 19:16:41 UTC 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

Changes:
  head/security/tinc-devel/Makefile
  head/security/tinc-devel/files/patch-cipher.c