summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/extern.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2021-10-26 16:59:20 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2021-10-26 16:59:20 +0000
commit6160d8fff59923bdd164d4fd84b7b024ead9aa0b (patch)
tree904ab7b335dba3c04b19191b9f47083e4d5a534c /usr.sbin/rpki-client/extern.h
parent8314016b88092088bed3685658e9c1c5b0a79050 (diff)
Move load_file() to encoding.c so that regress can use the function.
Diffstat (limited to 'usr.sbin/rpki-client/extern.h')
-rw-r--r--usr.sbin/rpki-client/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/extern.h b/usr.sbin/rpki-client/extern.h
index 8e77b68a4d8..309d5b48d83 100644
--- a/usr.sbin/rpki-client/extern.h
+++ b/usr.sbin/rpki-client/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.80 2021/10/26 16:12:54 claudio Exp $ */
+/* $OpenBSD: extern.h,v 1.81 2021/10/26 16:59:19 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -533,6 +533,7 @@ void cryptoerrx(const char *, ...)
/* Encoding functions for hex and base64. */
+unsigned char *load_file(const char *, size_t *);
int base64_decode(const unsigned char *, size_t,
unsigned char **, size_t *);
int base64_encode(const unsigned char *, size_t, char **);
@@ -596,7 +597,6 @@ int output_json(FILE *, struct vrp_tree *, struct brk_tree *,
void logx(const char *fmt, ...)
__attribute__((format(printf, 1, 2)));
-unsigned char *load_file(const char *, size_t *);
int mkpath(const char *);