summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/extern.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-02-08 11:51:52 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-02-08 11:51:52 +0000
commit6b430579ca865f4bbd1db0992675be1931f0f639 (patch)
tree4f88b04fd1f93e3a4ea7e5765581c4cf95525f95 /usr.sbin/rpki-client/extern.h
parentdec16a771fbac9038a34989e8d97276306ab8341 (diff)
Move the guts of proc_parser_crl() into crl_parse(). This is actually
parsing the CRL, so it makes more sense to have it there. It will also make an upcoming change easier. While there, rename free_crl() into crl_free() for consistency with all other *_free() functions. input/ok claudio
Diffstat (limited to 'usr.sbin/rpki-client/extern.h')
-rw-r--r--usr.sbin/rpki-client/extern.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rpki-client/extern.h b/usr.sbin/rpki-client/extern.h
index 28f64dae957..079c4e92336 100644
--- a/usr.sbin/rpki-client/extern.h
+++ b/usr.sbin/rpki-client/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.116 2022/01/28 15:30:23 claudio Exp $ */
+/* $OpenBSD: extern.h,v 1.117 2022/02/08 11:51:51 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -447,8 +447,8 @@ struct gbr *gbr_parse(X509 **, const char *, const unsigned char *,
size_t);
/* crl.c */
-X509_CRL *crl_parse(const char *, const unsigned char *, size_t);
-void free_crl(struct crl *);
+struct crl *crl_parse(const char *, const unsigned char *, size_t);
+void crl_free(struct crl *);
/* Validation of our objects. */