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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user