aboutsummaryrefslogtreecommitdiff
path: root/lib/base64.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-10 14:40:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-10 14:40:46 +0200
commit0f7bea7c3a6ddb0bf43f890c764322faaa3ba561 (patch)
treeef05aacf5e2aea61ae1fca0748dd6e19997e9c8b /lib/base64.c
parentd5cc77b7449316b6c8374968594f718df567ef7a (diff)
unittest: mark all unit tested functions
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still...
Diffstat (limited to 'lib/base64.c')
-rw-r--r--lib/base64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/base64.c b/lib/base64.c
index 3e59f5f46..0de1f0100 100644
--- a/lib/base64.c
+++ b/lib/base64.c
@@ -73,6 +73,8 @@ static void decodeQuantum(unsigned char *dest, const char *src)
*
* Given a base64 string at src, decode it and return an allocated memory in
* the *outptr. Returns the length of the decoded data.
+ *
+ * @unittest: 1302
*/
size_t Curl_base64_decode(const char *src, unsigned char **outptr)
{
@@ -135,6 +137,7 @@ size_t Curl_base64_decode(const char *src, unsigned char **outptr)
* is a pointer to an allocated area holding the base64 data. If something
* went wrong, 0 is returned.
*
+ * @unittest: 1302
*/
size_t Curl_base64_encode(struct SessionHandle *data,
const char *inputbuff, size_t insize,