chiark / gitweb /
rsa.c transform-cbcmac.c: Fix configuration error messages.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 28 Apr 2017 21:51:20 +0000 (22:51 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 18 May 2019 00:19:44 +0000 (01:19 +0100)
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
rsa.c
transform-cbcmac.c

diff --git a/rsa.c b/rsa.c
index 068cf41..01d97c3 100644 (file)
--- 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 {
index 0631897..7e6a1f7 100644 (file)
@@ -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;