[SECNET PATCH 08/12] rsa.c transform-cbcmac.c: Fix configuration error messages.

Ian Jackson ijackson at chiark.greenend.org.uk
Sat May 18 01:21:53 BST 2019


From: Mark Wooding <mdw at distorted.org.uk>

Signed-off-by: Mark Wooding <mdw at distorted.org.uk>
---
 rsa.c              | 2 +-
 transform-cbcmac.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rsa.c b/rsa.c
index 068cf41..01d97c3 100644
--- a/rsa.c
+++ b/rsa.c
@@ -292,7 +292,7 @@ static list_t *rsapriv_apply(closure_t *self, struct cloc loc, dict_t *context,
     i=list_elem(args,0);
     if (i) {
 	if (i->type!=t_string) {
-	    cfgfatal(i->loc,"rsa-public","first argument must be a string\n");
+	    cfgfatal(i->loc,"rsa-private","first argument must be a string\n");
 	}
 	filename=i->data.string;
     } else {
diff --git a/transform-cbcmac.c b/transform-cbcmac.c
index 0631897..7e6a1f7 100644
--- a/transform-cbcmac.c
+++ b/transform-cbcmac.c
@@ -292,7 +292,7 @@ static list_t *transform_apply(closure_t *self, struct cloc loc,
     /* First parameter must be a dict */
     item=list_elem(args,0);
     if (!item || item->type!=t_dict)
-	cfgfatal(loc,"userv-ipif","parameter must be a dictionary\n");
+	cfgfatal(loc,"serpent256-cbc","parameter must be a dictionary\n");
     
     dict=item->data.dict;
 
-- 
2.11.0




More information about the sgo-software-discuss mailing list