fix error messages from earlier syntax change
authorbenno <benno@openbsd.org>
Fri, 3 Aug 2018 17:51:40 +0000 (17:51 +0000)
committerbenno <benno@openbsd.org>
Fri, 3 Aug 2018 17:51:40 +0000 (17:51 +0000)
From Ross L Richardson
ok millert@

usr.sbin/acme-client/parse.y

index eb9480b..172b5fb 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: parse.y,v 1.27 2018/08/03 17:49:57 benno Exp $ */
+/*     $OpenBSD: parse.y,v 1.28 2018/08/03 17:51:40 benno Exp $ */
 
 /*
  * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -326,13 +326,13 @@ domainoptsl       : ALTERNATIVE NAMES '{' altname_l '}'
                | SIGN WITH STRING {
                        char *s;
                        if (domain->auth != NULL) {
-                               yyerror("duplicate use");
+                               yyerror("duplicate sign with");
                                YYERROR;
                        }
                        if ((s = strdup($3)) == NULL)
                                err(EXIT_FAILURE, "strdup");
                        if (authority_find(conf, s) == NULL) {
-                               yyerror("use: unknown authority");
+                               yyerror("sign with: unknown authority");
                                free(s);
                                YYERROR;
                        }