mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
lib: The base64 chars are by definition single-byte :-)
Remove a dependency on charcnv Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
a2c59d3e45
commit
a5fd779aa1
@ -38,7 +38,7 @@ _PUBLIC_ DATA_BLOB base64_decode_data_blob_talloc(TALLOC_CTX *mem_ctx, const cha
|
||||
|
||||
n=i=0;
|
||||
|
||||
while (*s && (p=strchr_m(b64,*s))) {
|
||||
while (*s && (p=strchr(b64,*s))) {
|
||||
idx = (int)(p - b64);
|
||||
byte_offset = (i*6)/8;
|
||||
bit_offset = (i*6)%8;
|
||||
|
Loading…
Reference in New Issue
Block a user