git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2463d11
)
libcli:auth: Use GnuTLS MD5 in encode_or_decode_arc4_passwd_buffer()
author
Andreas Schneider
<asn@samba.org>
Wed, 15 May 2019 06:02:59 +0000
(08:02 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 21 May 2019 00:03:20 +0000
(
00:03
+0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/auth/smbencrypt.c
patch
|
blob
|
history
diff --git
a/libcli/auth/smbencrypt.c
b/libcli/auth/smbencrypt.c
index ca1d42b678de1a512a14bf95214a801375a113ba..958c011caa0026e2478a425d11e2f6f4ee294b27 100644
(file)
--- a/
libcli/auth/smbencrypt.c
+++ b/
libcli/auth/smbencrypt.c
@@
-924,8
+924,6
@@
void encode_wkssvc_join_password_buffer(TALLOC_CTX *mem_ctx,
generate_random_buffer((uint8_t *)confounder, confounder_len);
- GNUTLS_FIPS140_SET_LAX_MODE();
-
rc = gnutls_hash_init(&hash_hnd, GNUTLS_DIG_MD5);
if (rc < 0) {
goto out;
@@
-955,7
+953,6
@@
void encode_wkssvc_join_password_buffer(TALLOC_CTX *mem_ctx,
*pwd_buf = my_pwd_buf;
out:
- GNUTLS_FIPS140_SET_STRICT_MODE();
return;
}