base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().
[ira/wip.git] / source3 / web / cgi.c
index 46f33789bfcc2bdbed19c7a85655ea49ec2b80c3..8abc2f0bd5c6b5ff20b6b1972d92c92eacd6a7fd 100644 (file)
@@ -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