Bug 198351

Summary: [PATCH] security/opencryptoki: Replace deprecated des_ and fix LibreSSL build
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: John Marino <marino>
Status: Closed FIXED    
Severity: Affects Some People CC: marino
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (hrs)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff for security/opencryptoki
none
Poudriere build log of security/opencryptoki none

Description Bernard Spil freebsd_committer freebsd_triage 2015-03-06 12:03:32 UTC
Created attachment 153893 [details]
svn diff for security/opencryptoki

security/opencryptoki uses a mix of deprecated des_ and new DES_ methods and types that were marked deprecated by OpenSSL 0.9.7 and will be removed in OpenSSL 1.1.0 . This patch replaces the des_ methods and types with their new DES_ counterparts.

This has been submitted to upstream here https://github.com/joylatten/opencryptoki/pull/115
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2015-03-06 12:03:58 UTC
Created attachment 153894 [details]
Poudriere build log of security/opencryptoki
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2015-04-05 15:14:24 UTC
Upstream feedback

Thanks. I will merge this commit into the official opencryptoki git tree on Sourceforge.
I will add a Signed-off-by: Bernard Spil spil.oss@gmail.com.
Comment 3 John Marino freebsd_committer freebsd_triage 2016-09-12 23:25:33 UTC
I'm taking this over under the SSL blanket (it's been 1.5 years anyway)
Comment 4 John Marino freebsd_committer freebsd_triage 2016-09-13 00:02:04 UTC
it seems these patches are obsolete.  I'm seeing a version update to 3.5 in May of this year.
Comment 5 commit-hook freebsd_committer freebsd_triage 2016-09-13 01:28:38 UTC
A commit references this bug:

Author: marino
Date: Tue Sep 13 01:28:20 UTC 2016
New revision: 421968
URL: https://svnweb.freebsd.org/changeset/ports/421968

Log:
  security/opencryptoki: Fix build with LIbreSSL (old DES functions)

  The referenced PR is related but overcome by the import of the latest
  version of opencryptoki.

  PR:		198351
  Approved by:	SSL blanket

Changes:
  head/security/opencryptoki/Makefile
  head/security/opencryptoki/files/patch-usr_lib_pkcs11_common_sw__crypt.c