diff options
Diffstat (limited to 'src/include/gnunet_strings_lib.h')
-rw-r--r-- | src/include/gnunet_strings_lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h index bd3ac9dbf..8d829d42e 100644 --- a/src/include/gnunet_strings_lib.h +++ b/src/include/gnunet_strings_lib.h | |||
@@ -362,16 +362,16 @@ size_t | |||
362 | GNUNET_STRINGS_urlencode (const char *data, size_t len, char **out); | 362 | GNUNET_STRINGS_urlencode (const char *data, size_t len, char **out); |
363 | 363 | ||
364 | /** | 364 | /** |
365 | * Decode from Base64url. RFC7515 | 365 | * Encode into Base64url. RFC7515 |
366 | * | 366 | * |
367 | * @param data the data to decode | 367 | * @param in the data to encode |
368 | * @param len the length of the input | 368 | * @param len the length of the input |
369 | * @param output where to write the output (*output should be NULL, | 369 | * @param output where to write the output (*output should be NULL, |
370 | * is allocated) | 370 | * is allocated) |
371 | * @return the size of the output | 371 | * @return the size of the output |
372 | */ | 372 | */ |
373 | size_t | 373 | size_t |
374 | GNUNET_STRINGS_base64url_decode (const char *data, size_t len, void **out); | 374 | GNUNET_STRINGS_base64url_encode (const void *in, size_t len, char **output); |
375 | 375 | ||
376 | 376 | ||
377 | /** | 377 | /** |