2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Add base64_encode() by Jon Mayo.

This commit is contained in:
Todd C. Miller
2018-05-19 19:03:47 -06:00
parent 1ab3606019
commit 574c9fcd7a
3 changed files with 72 additions and 8 deletions

View File

@@ -303,6 +303,7 @@ int hexchar(const char *s);
/* base64.c */
size_t base64_decode(const char *str, unsigned char *dst, size_t dsize);
size_t base64_encode(const unsigned char *in, size_t in_len, char *out, size_t out_len);
/* timeout.c */
int parse_timeout(const char *timestr);