if the AKI cert is not already present. This fixes a problem when a top
level MFT is displayed.
Report and OK job@, OK tb@
-/* $OpenBSD: parser.c,v 1.61 2022/02/08 11:51:51 tb Exp $ */
+/* $OpenBSD: parser.c,v 1.62 2022/02/08 12:35:14 claudio Exp $ */
/*
* Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
c = x509_get_crl(x509, file);
parse_load_crl(c);
free(c);
- parse_load_certchain(aia);
+ if (auth_find(&auths, aki) == NULL)
+ parse_load_certchain(aia);
a = auth_find(&auths, aki);
crl = get_crl(a);