1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-25 06:35:46 +00:00

rpki-client: stop aligning variables in cert_parse_extensions()

While it looks a bit tidier if the variables are aligned with a tab in
the declarations, this is also a source of churn, so give up on this in
this function.
This commit is contained in:
tb
2026-04-03 02:41:03 +00:00
parent cfe3850a6c
commit cbee47e0be

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: cert.c,v 1.230 2026/04/03 02:36:38 tb Exp $ */
/* $OpenBSD: cert.c,v 1.231 2026/04/03 02:41:03 tb Exp $ */
/*
* Copyright (c) 2022,2025 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2021 Job Snijders <job@openbsd.org>
@@ -1510,11 +1510,10 @@ sbgp_assysnum(const char *fn, struct cert *cert, const X509_EXTENSION *ext)
static int
cert_parse_extensions(const char *fn, struct cert *cert)
{
X509 *x = cert->x509;
X509 *x = cert->x509;
const X509_EXTENSION *ext;
const ASN1_OBJECT *obj;
int extsz, i, nid;
int bc, ski, aki, ku, eku, crldp, aia, sia, cp, ip, as;
int extsz, i, nid, bc, ski, aki, ku, eku, crldp, aia, sia, cp, ip, as;
nid = bc = ski = aki = ku = eku = crldp = aia = sia = cp = ip = as = 0;