From: | ghudson@mit.edu |
Subject: | git commit |
Use builtin MD4, RC4 for OpenSSL 3.0
In OpenSSL 3.0, to use MD4 or RC4 one must load the "legacy" crypto
provider. To do this in libk5crypto, we would need to create and use
an OpenSSL library context to avoid interfering with other users of
the library. Tearing down this context at finalization time would be
further complicated by OpenSSL's use of atexit() for library
finalization, which causes its finalizer to be run earlier than
properly registered finalizers on Linux.
For simplicity, use the builtin implementations of MD4 and RC4 for
OpenSSL 3.0 and later. Also use the builtin DES key parity
implementation since OpenSSL 3.0 deprecates DES_set_odd_parity() with
no replacement.
https://github.com/krb5/krb5/commit/e557f051d1605ee980b136cae020866873ffb223
Author: Greg Hudson <ghudson@mit.edu>
Commit: e557f051d1605ee980b136cae020866873ffb223
Branch: master
src/lib/crypto/krb/crypto_int.h | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)