aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-01 16:22:38 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-01 16:22:38 +0200
commite44686f08df9c58a90efcaa7322511fce5267bde (patch)
tree681f16883d531b625dcef425c3e766c621b7f3ec /src/include
parent2bb07d251cc8eead7a0fcf1c0c7100477f107027 (diff)
downloadgnunet-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.h6
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
362GNUNET_STRINGS_urlencode (const char *data, size_t len, char **out); 362GNUNET_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 */
373size_t 373size_t
374GNUNET_STRINGS_base64url_decode (const char *data, size_t len, void **out); 374GNUNET_STRINGS_base64url_encode (const void *in, size_t len, char **output);
375 375
376 376
377/** 377/**