Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. ticket: 9034 (new)
- Loading branch information