1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

log2n compilation error fix, cache digest calculation fix

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725262 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Eissing
2016-01-18 13:10:27 +00:00
parent bda008ac8d
commit 32ebc57fd1
6 changed files with 102 additions and 100 deletions

View File

@@ -174,7 +174,9 @@ const char *h2_util_base64url_encode(const char *data,
((i+1 < len)? (udata[i+1] >> 4) : 0) & 0x3fu ];
*p++ = BASE64URL_CHARS[ (udata[i+1] << 2) +
((i+2 < len)? (udata[i+2] >> 6) : 0) & 0x3fu ];
*p++ = (i+2 < len)? BASE64URL_CHARS[ udata[i+2] & 0x3fu ] : '=';
if (i+2 < len) {
*p++ = BASE64URL_CHARS[ udata[i+2] & 0x3fu ];
}
}
return enc;