[PATCH RESEND] openssl: remove deprecated functions from des_encrypt()
j at w1.fi
Thu Aug 19 04:01:58 PDT 2021
On Tue, Aug 17, 2021 at 10:58:54AM +0200, Davide Caratti wrote:
> NetworkManager-CI detected systematic failures on test scenarios using
> MSCHAPv2 when wpa_supplicant uses OpenSSL-3.0.0.
> The 'test_module_tests.py' script also fails, and the following log is
> 1627404013.761569: generate_nt_response failed
> 1627404013.761582: ms_funcs: 1 error
> it seems that either DES_set_key() or DES_ecb_encrypt() changed
> their semantic, but it doesn't make sense to fix them since their use
> has been deprecated. Converting des_encrypt() to avoid use of deprecated
> functions proved to fix the problem, and removed a couple of build warnings
> at the same time.
Jouni Malinen PGP id EFC895FA
More information about the Hostap