Skip to content
Permalink
Browse files

Fix b64 fallback

  • Loading branch information...
michaelortmann authored and vanosg committed Oct 6, 2019
1 parent 29cc7e2 commit 449bbf6e61de1d59982b90d67c4bbcaeff6bb1e0
Showing with 12 additions and 1 deletion.
  1. +4 −0 src/mod/module.h
  2. +8 −1 src/modules.c
@@ -501,6 +501,10 @@
#endif
/* 304 - 307 */
#define strncpyz ((size_t (*) (char *, const char *, size_t))global[304])
#ifndef HAVE_BASE64
# define b64_ntop ((int (*) (u_char const *, size_t, char *, size_t))global[305])
# define b64_pton ((int (*) (const char *, u_char *, size_t))global[306])
#endif


/* hostmasking */
@@ -597,7 +597,14 @@ Function global_table[] = {
(Function) 0,
#endif
/* 304 - 307 */
(Function) strncpyz
(Function) strncpyz,
#ifndef HAVE_BASE64
(Function) b64_ntop,
(Function) b64_pton
#else
(Function) 0,
(Function) 0
#endif
};

void init_modules(void)

0 comments on commit 449bbf6

Please sign in to comment.
You can’t perform that action at this time.