From f09fce1299f265c29ae2a3847ca496bc8d66f5c0 Mon Sep 17 00:00:00 2001 From: job Date: Mon, 13 Mar 2023 20:55:14 +0000 Subject: [PATCH] In filemode, also print details for .cer certificates --- usr.sbin/rpki-client/filemode.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.20.1