diff options
author | Jim McDonough <jmcd@samba.org> | 2003-02-18 23:17:59 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-02-18 23:17:59 +0000 |
commit | 17ec9642cdf29257297b56a202966863c9dac56f (patch) | |
tree | af449dafc21e2dbb8fe2f5b8dcb41287284f0b56 | |
parent | d08116ffcbe51c51c338f044e4f9389d3e4c10d5 (diff) | |
download | samba-17ec9642cdf29257297b56a202966863c9dac56f.tar.gz samba-17ec9642cdf29257297b56a202966863c9dac56f.tar.bz2 samba-17ec9642cdf29257297b56a202966863c9dac56f.zip |
base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().
(This used to be commit d510ff85fb0dafddf3dea9412a09eeee6e70f0cb)
-rw-r--r-- | source3/lib/util_str.c | 2 | ||||
-rw-r--r-- | source3/web/cgi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index 60e0e3837f..21361a1862 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -1578,7 +1578,7 @@ DATA_BLOB base64_decode_data_blob(const char *s) /*************************************************************************** decode a base64 string in-place - wrapper for the above ***************************************************************************/ -void base64_decode(char *s) +void base64_decode_inplace(char *s) { DATA_BLOB decoded = base64_decode_data_blob(s); memcpy(s, decoded.data, decoded.length); diff --git a/source3/web/cgi.c b/source3/web/cgi.c index 46f33789bf..8abc2f0bd5 100644 --- a/source3/web/cgi.c +++ b/source3/web/cgi.c @@ -306,7 +306,7 @@ static BOOL cgi_handle_authorization(char *line) } line += 6; while (line[0] == ' ') line++; - base64_decode(line); + base64_decode_inplace(line); if (!(p=strchr_m(line,':'))) { /* * Always give the same error so a cracker |