Bug 207744 - usr.sbin/ppp uses deprecated des_* methods
Summary: usr.sbin/ppp uses deprecated des_* methods
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-06 13:52 UTC by Bernard Spil
Modified: 2018-10-10 14:10 UTC (History)
1 user (show)

See Also:


Attachments
git diff for usr.sbin/ppp (982 bytes, patch)
2016-03-06 13:52 UTC, Bernard Spil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer freebsd_triage 2016-03-06 13:52:06 UTC
Created attachment 167763 [details]
git diff for usr.sbin/ppp

OpenSSL has deprecated a large number of des_ methods and types on 24 October 2001[1]. The upcoming OpenSSL version 1.1[2] has also removed these methods and so has LibreSSL.

Attached patch replaces the des_ methods with their DES_ equivalents.

[1] https://github.com/openssl/openssl/commit/c2e4f17c1a0d4d5115c6ede9492de1615fe392ac
[2] https://github.com/openssl/openssl/commit/24956ca00f014a917fb181a8abc39b349f3f316f
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2016-03-07 15:58:30 UTC
Patch is required on 10.3 as well and applies cleanly
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2017-03-26 19:10:32 UTC
Hi all,

Can a src maintainer look at this? Trivial patch...
The old des_ compat macros des_old.h have also been removed from OpenSSL 1.1

Cheers,

Bernard.
Comment 3 Ed Maste freebsd_committer freebsd_triage 2018-10-10 14:10:18 UTC
Addressed by r329105