Not likely to be an issue in the real world as the earlier calls
will have failed if weak crypto was disabled, but this was missed
in
dce944e8a1119034f184336f6b71a28080152a0a.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu May 12 03:18:42 UTC 2022 on sn-devel-184
/* check NT verifier */
mdfour(new_nt_hash, new_password.data, new_password.length);
- E_old_pw_hash(new_nt_hash, nt_pwd->hash, nt_verifier.hash);
+ rc = E_old_pw_hash(new_nt_hash, nt_pwd->hash, nt_verifier.hash);
if (rc != 0) {
status = gnutls_error_to_ntstatus(rc, NT_STATUS_ACCESS_DISABLED_BY_POLICY_OTHER);
goto failed;