diff options
author | job <job@cvs.openbsd.org> | 2021-03-27 18:12:16 +0000 |
---|---|---|
committer | job <job@cvs.openbsd.org> | 2021-03-27 18:12:16 +0000 |
commit | 53b2d07517d0b01b17ff02fc4226f40885cf2f71 (patch) | |
tree | cdb824b0e50a5e73bf427344ec97fa2c2ac4fbb1 /usr.sbin | |
parent | 9a5e32dc62729d5bedb369d9c86f99e71d8cc09e (diff) |
Send arguments in alphabetical order
OK tb@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpki-client/gbr.c | 6 | ||||
-rw-r--r-- | usr.sbin/rpki-client/mft.c | 6 | ||||
-rw-r--r-- | usr.sbin/rpki-client/roa.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/rpki-client/gbr.c b/usr.sbin/rpki-client/gbr.c index bd753bd7969..b80f5441acb 100644 --- a/usr.sbin/rpki-client/gbr.c +++ b/usr.sbin/rpki-client/gbr.c @@ -1,4 +1,4 @@ -/* $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> * @@ -62,8 +62,8 @@ gbr_parse(X509 **x509, const char *fn) 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; diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c index 992adf02fa6..214f857cf1c 100644 --- a/usr.sbin/rpki-client/mft.c +++ b/usr.sbin/rpki-client/mft.c @@ -1,4 +1,4 @@ -/* $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> * @@ -394,8 +394,8 @@ mft_parse(X509 **x509, const char *fn) 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; /* diff --git a/usr.sbin/rpki-client/roa.c b/usr.sbin/rpki-client/roa.c index 9cf8f22aafc..953a7da38cf 100644 --- a/usr.sbin/rpki-client/roa.c +++ b/usr.sbin/rpki-client/roa.c @@ -1,4 +1,4 @@ -/* $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> * @@ -348,8 +348,8 @@ roa_parse(X509 **x509, const char *fn) 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; |