-/* $OpenBSD: gbr.c,v 1.6 2021/03/04 15:43:18 tb Exp $ */
+/* $OpenBSD: gbr.c,v 1.7 2021/03/27 18:12:15 job Exp $ */
/*
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
*
err(1, NULL);
if ((p.res->vcard = strndup(cms, cmsz)) == NULL)
err(1, NULL);
- if (!x509_get_extensions(*x509, fn, &p.res->ski, &p.res->aki,
- &p.res->aia)) {
+ if (!x509_get_extensions(*x509, fn, &p.res->aia, &p.res->aki,
+ &p.res->ski)) {
gbr_free(p.res);
X509_free(*x509);
*x509 = NULL;
-/* $OpenBSD: mft.c,v 1.29 2021/03/05 16:00:00 claudio Exp $ */
+/* $OpenBSD: mft.c,v 1.30 2021/03/27 18:12:15 job Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
err(1, NULL);
if ((p.res->file = strdup(fn)) == NULL)
err(1, NULL);
- if (!x509_get_extensions(*x509, fn, &p.res->ski, &p.res->aki,
- &p.res->aia))
+ if (!x509_get_extensions(*x509, fn, &p.res->aia, &p.res->aki,
+ &p.res->ski))
goto out;
/*
-/* $OpenBSD: roa.c,v 1.15 2021/02/19 12:18:23 tb Exp $ */
+/* $OpenBSD: roa.c,v 1.16 2021/03/27 18:12:15 job Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
if ((p.res = calloc(1, sizeof(struct roa))) == NULL)
err(1, NULL);
- if (!x509_get_extensions(*x509, fn, &p.res->ski, &p.res->aki,
- &p.res->aia))
+ if (!x509_get_extensions(*x509, fn, &p.res->aia, &p.res->aki,
+ &p.res->ski))
goto out;
if (!roa_parse_econtent(cms, cmsz, &p))
goto out;