From: job Date: Mon, 13 Mar 2023 20:55:14 +0000 (+0000) Subject: In filemode, also print details for .cer certificates X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f09fce1299f265c29ae2a3847ca496bc8d66f5c0;p=openbsd In filemode, also print details for .cer certificates --- diff --git a/usr.sbin/rpki-client/filemode.c b/usr.sbin/rpki-client/filemode.c index 4aaec7f091e..a0e12929211 100644 --- a/usr.sbin/rpki-client/filemode.c +++ b/usr.sbin/rpki-client/filemode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: filemode.c,v 1.26 2023/03/13 19:51:49 job Exp $ */ +/* $OpenBSD: filemode.c,v 1.27 2023/03/13 20:55:14 job Exp $ */ /* * Copyright (c) 2019 Claudio Jeker * Copyright (c) 2019 Kristaps Dzonsons @@ -484,6 +484,9 @@ proc_parser_file(char *file, unsigned char *buf, size_t len) case RTYPE_ASPA: aspa_print(x509, aspa); break; + case RTYPE_CER: + cert_print(cert); + break; case RTYPE_GBR: gbr_print(x509, gbr); break;