From ce391fc7fee63e109e05d90a0451ed133ea678df Mon Sep 17 00:00:00 2001
From: "Dr. David von Oheimb" <dev@ddvo.net>
Date: Sat, 9 Nov 2024 14:20:02 +0100
Subject: [PATCH] fixup! APPS/load_key_certs_crls(): refactor to clean up the
 code a little and add clarifying comments

---
 apps/lib/apps.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/lib/apps.c b/apps/lib/apps.c
index afc696f3ca18f9..23fe5d8faca7e1 100644
--- a/apps/lib/apps.c
+++ b/apps/lib/apps.c
@@ -899,7 +899,7 @@ static const char *format2string(int format)
     return NULL;
 }
 
-/* Set type expectation, but set to 0 if objects of several types expected. */
+/* Set type expectation, but set to 0 if objects of multiple types expected. */
 #define SET_EXPECT(val) \
     (expect = expect < 0 ? (val) : (expect == (val) ? (val) : 0))
 #define SET_EXPECT1(pvar, val) \
@@ -915,7 +915,7 @@ static const char *format2string(int format)
      pcrl != NULL ? "CRL" : pcrls != NULL ? "CRLs" : NULL)
 /*
  * Load those types of credentials for which the result pointer is not NULL.
- * Reads from stdio if 'uri' is NULL and 'maybe_stdin' is nonzero.
+ * Reads from stdin if 'uri' is NULL and 'maybe_stdin' is nonzero.
  * 'format' parameter may be FORMAT_PEM, FORMAT_ASN1, or 0 for no hint.
  * desc may contain more detail on the credential(s) to be loaded for error msg
  * For non-NULL ppkey, pcert, and pcrl the first suitable value found is loaded.