In filemode, also print details for .cer certificates
authorjob <job@openbsd.org>
Mon, 13 Mar 2023 20:55:14 +0000 (20:55 +0000)
committerjob <job@openbsd.org>
Mon, 13 Mar 2023 20:55:14 +0000 (20:55 +0000)
usr.sbin/rpki-client/filemode.c

index 4aaec7f..a0e1292 100644 (file)
@@ -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 <claudio@openbsd.org>
  * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -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;