charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
[ira/wip.git] / libcli / auth / smbencrypt.c
index f7c60e7de123c4f4e6716a772a35a07b7c6af91d..3274f113c200574daaaa7e0388d62cd273413fe6 100644 (file)
@@ -596,8 +596,7 @@ bool decode_pw_buffer(TALLOC_CTX *ctx,
                                   &in_buffer[512 - byte_len],
                                   byte_len,
                                   (void *)pp_new_pwrd,
-                                  new_pw_len,
-                                  false)) {
+                                  new_pw_len)) {
                DEBUG(0, ("decode_pw_buffer: failed to convert incoming password\n"));
                return false;
        }