This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.2.x by this push:
new 684bd3859 Remove incorrect comment from base64 functions (#8835)
684bd3859 is described below
commit 684bd3859ec198615b10167e238b6d80161b8206
Author: Mo Chen <[email protected]>
AuthorDate: Tue May 10 09:48:06 2022 -0500
Remove incorrect comment from base64 functions (#8835)
These functions have been changed to use user-supplied string buffers
instead of allocating. The comment is incorrect and confusing.
(cherry picked from commit d7152b5b552fafea5246e0fe43e0e3b6259afafe)
---
include/tscore/ink_base64.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/tscore/ink_base64.h b/include/tscore/ink_base64.h
index 1473a312a..d71f68ed4 100644
--- a/include/tscore/ink_base64.h
+++ b/include/tscore/ink_base64.h
@@ -31,9 +31,6 @@
* authentication scheme does not require them. This implementation is
* intended for web-related use, and line breaks are not implemented.
*
- * These routines return char*'s to malloc-ed strings. The caller is
- * responsible for freeing the strings.
- *
*/
// Encodes / Decodes into user supplied buffer. Returns number of bytes
decoded
bool ats_base64_encode(const char *inBuffer, size_t inBufferSize, char
*outBuffer, size_t outBufSize, size_t *length);