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