Bug 205004 - Switch ppp(8) to use the "modern" DES_ functions
Summary: Switch ppp(8) to use the "modern" DES_ functions
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Sevan Janiyan
URL: https://reviews.freebsd.org/D9095
Keywords: patch
Depends on:
Reported: 2015-12-04 01:14 UTC by Sevan Janiyan
Modified: 2020-07-12 16:46 UTC (History)
1 user (show)

See Also:

Switch from des_ to DES_ prefix functions (980 bytes, patch)
2015-12-04 01:14 UTC, Sevan Janiyan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sevan Janiyan 2015-12-04 01:14:12 UTC
Created attachment 163832 [details]
Switch from des_ to DES_ prefix functions

the original des_ prefixed functions were renamed to use a DES_prefix in OpenSSL 0.9.7. Attached patch switches over to the new format.
This should allow ppp to be built against LibreSSL.
DES_set_key() & DES_ecb_encrypt() need to be passed the address of the key_schedule pointer.

Requires testing by ppp user.
Comment 1 Jilles Tjoelker freebsd_committer 2015-12-23 15:10:18 UTC
Hi Brian,

Can you test and review this?
Comment 2 Sevan Janiyan 2016-02-28 22:00:21 UTC