From d876a22732d83ddf8e37ead89e6f23bf7aa0d69c Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Tue, 29 Oct 2013 12:19:01 +0100 Subject: Remove generation and handling of LM hashes https://fedorahosted.org/freeipa/ticket/3795 --- util/ipa_pwd.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'util/ipa_pwd.h') diff --git a/util/ipa_pwd.h b/util/ipa_pwd.h index a6990cac..bc07549c 100644 --- a/util/ipa_pwd.h +++ b/util/ipa_pwd.h @@ -74,15 +74,6 @@ int ipapwd_generate_new_history(char *password, char ***new_pwd_history, int *new_pwd_hlen); -struct ntlm_keys { - uint8_t lm[16]; - uint8_t nt[16]; -}; - -int encode_ntlm_keys(char *newPasswd, - char *upperPasswd, - bool do_lm_hash, - bool do_nt_hash, - struct ntlm_keys *keys); +int encode_nt_key(char *newPasswd, uint8_t *nt_key); #endif -- cgit