summaryrefslogtreecommitdiffstats
path: root/source/utils/ntlm_auth.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-19 01:31:27 +0000
committerAndrew Tridgell <tridge@samba.org>2005-06-19 01:31:27 +0000
commit195093fbf9a5344aa014ae9d3d1a01e77d94bc17 (patch)
treec722760afc7158b0aa73992e07deb1a397672ced /source/utils/ntlm_auth.c
parenta96d59a675d4996878c6552d8f7d90d95f95fe6b (diff)
downloadsamba-195093fbf9a5344aa014ae9d3d1a01e77d94bc17.tar.gz
samba-195093fbf9a5344aa014ae9d3d1a01e77d94bc17.tar.xz
samba-195093fbf9a5344aa014ae9d3d1a01e77d94bc17.zip
r7740: get rid of our duplicate base64 routines
Diffstat (limited to 'source/utils/ntlm_auth.c')
-rw-r--r--source/utils/ntlm_auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/utils/ntlm_auth.c b/source/utils/ntlm_auth.c
index 3a94d82c0ca..fe857f3bc8d 100644
--- a/source/utils/ntlm_auth.c
+++ b/source/utils/ntlm_auth.c
@@ -244,7 +244,7 @@ static void manage_gensec_get_pw_request(enum stdio_helper_mode stdio_helper_mod
}
if (strlen(buf) > 3) {
- in = base64_decode_data_blob(buf + 3);
+ in = base64_decode_data_blob(NULL, buf + 3);
} else {
in = data_blob(NULL, 0);
}
@@ -309,7 +309,7 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode,
}
if (strlen(buf) > 3) {
- in = base64_decode_data_blob(buf + 3);
+ in = base64_decode_data_blob(NULL, buf + 3);
} else {
in = data_blob(NULL, 0);
}
@@ -450,7 +450,7 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode,
nt_status = auth_nt_status_squash(nt_status);
if (out.length) {
- out_base64 = base64_encode_data_blob(out);
+ out_base64 = base64_encode_data_blob(NULL, out);
} else {
out_base64 = NULL;
}