Skip to content

Commit

Permalink
Sync base64_encode and base64_decode prototypes with parse.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
millert committed Aug 13, 2024
1 parent 60b6f30 commit e3fd614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/sudoers/regress/parser/check_base64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[]);

Expand Down

0 comments on commit e3fd614

Please sign in to comment.