Blame SOURCES/0025-Add-cipher-and-digest-difference-messages.patch

1495bf
From 8ee05aae1f0a85bcd763cde1dfcc8a33be85c35c Mon Sep 17 00:00:00 2001
1495bf
From: Trevor Vaughan <tvaughan@onyxpoint.com>
1495bf
Date: Wed, 11 Apr 2018 16:01:13 -0400
1495bf
Subject: [PATCH 25/25] Add cipher and digest difference messages
1495bf
1495bf
Ensure that users know that AES is the cipher and SHA is the digest when
1495bf
CA capabilities are not supported.
1495bf
1495bf
Ref #89
1495bf
---
1495bf
 src/scepgen-o.c | 4 ++--
1495bf
 1 file changed, 2 insertions(+), 2 deletions(-)
1495bf
1495bf
diff --git a/src/scepgen-o.c b/src/scepgen-o.c
1495bf
index 05fc437..7120ade 100644
1495bf
--- a/src/scepgen-o.c
1495bf
+++ b/src/scepgen-o.c
1495bf
@@ -503,7 +503,7 @@ cm_scepgen_o_cooked(struct cm_store_ca *ca, struct cm_store_entry *entry,
1495bf
 		}
1495bf
 		if (cipher == cm_prefs_nocipher) {
1495bf
 			/* Per the latest Draft RFC */
1495bf
-			cm_log(1, "Could not determine supported CA capabilities, using AES256.\n");
1495bf
+			cm_log(1, "Could not determine supported CA capabilities, using cipher AES256.\n");
1495bf
 			cipher = cm_prefs_aes256;
1495bf
 		}
1495bf
 	}
1495bf
@@ -580,7 +580,7 @@ cm_scepgen_o_cooked(struct cm_store_ca *ca, struct cm_store_entry *entry,
1495bf
 		if (digest == cm_prefs_nodigest) {
1495bf
 			/* Per SCEP RFC draft-gutmann-scep-10 - March 1, 2018 */
1495bf
 			/* https://www.ietf.org/id/draft-gutmann-scep-10.txt  */
1495bf
-			cm_log(1, "Could not determine supported CA capabilities, using SHA256.\n");
1495bf
+			cm_log(1, "Could not determine supported CA capabilities, using digest SHA256.\n");
1495bf
 			digest = cm_prefs_sha256;
1495bf
 		}
1495bf
 	}
1495bf
-- 
1495bf
1.8.3.1
1495bf