summaryrefslogtreecommitdiffstats
path: root/src/basic/hexdecoct.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/hexdecoct.h')
-rw-r--r--src/basic/hexdecoct.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/basic/hexdecoct.h b/src/basic/hexdecoct.h
index 9477d16e37..fa6013ee75 100644
--- a/src/basic/hexdecoct.h
+++ b/src/basic/hexdecoct.h
@@ -33,6 +33,9 @@ ssize_t base64mem(const void *p, size_t l, char **out);
int base64_append(char **prefix, int plen,
const void *p, size_t l,
int margin, int width);
-int unbase64mem(const char *p, size_t l, void **mem, size_t *len);
+int unbase64mem_full(const char *p, size_t l, bool secure, void **mem, size_t *len);
+static inline int unbase64mem(const char *p, size_t l, void **mem, size_t *len) {
+ return unbase64mem_full(p, l, false, mem, len);
+}
void hexdump(FILE *f, const void *p, size_t s);