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

Sync base64_encode and base64_decode prototypes with parse.h.

This commit is contained in:
Todd C. Miller
2024-08-13 08:09:24 -06:00
parent 60b6f30022
commit e3fd614e7e

View File

@@ -28,8 +28,8 @@
#include <sudo_util.h>
/* From parse.h */
extern size_t base64_decode(const char *str, unsigned char *dst, size_t dsize);
extern size_t base64_encode(const unsigned char *in, size_t in_len, char *out, size_t out_len);
extern size_t base64_decode(const char * restrict str, unsigned char * restrict dst, size_t dsize);
extern size_t base64_encode(const unsigned char * restrict in, size_t in_len, char * restrict out, size_t out_len);
sudo_dso_public int main(int argc, char *argv[]);