1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-13 08:23:49 +03:00

r7740: get rid of our duplicate base64 routines

This commit is contained in:
Andrew Tridgell
2005-06-19 01:31:27 +00:00
committed by Gerald (Jerry) Carter
parent fe2b77af23
commit cf17f90a83
5 changed files with 18 additions and 85 deletions

View File

@@ -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;
}