diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-08-01 16:22:38 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-08-01 16:22:38 +0200 |
commit | e44686f08df9c58a90efcaa7322511fce5267bde (patch) | |
tree | 681f16883d531b625dcef425c3e766c621b7f3ec /src/include | |
parent | 2bb07d251cc8eead7a0fcf1c0c7100477f107027 (diff) | |
download | gnunet-e44686f08df9c58a90efcaa7322511fce5267bde.tar.gz gnunet-e44686f08df9c58a90efcaa7322511fce5267bde.zip |
fix: reclaim urlenc / revert accidental change
Diffstat (limited to 'src/include')
-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 | /** |