diff options
-rw-r--r-- | src/src/arc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/src/arc.c b/src/src/arc.c index 061731280..c1407af60 100644 --- a/src/src/arc.c +++ b/src/src/arc.c @@ -1607,10 +1607,10 @@ expire = now = 0; /* Parse the signing specification */ -identity = string_nextinlist(&signspec, &sep, NULL, 0); -selector = string_nextinlist(&signspec, &sep, NULL, 0); -if ( !*identity || !*selector - || !(privkey = string_nextinlist(&signspec, &sep, NULL, 0)) || !*privkey) +if ( !(identity = string_nextinlist(&signspec, &sep, NULL, 0)) || !*identity + || !(selector = string_nextinlist(&signspec, &sep, NULL, 0)) || !*selector + || !(privkey = string_nextinlist(&signspec, &sep, NULL, 0)) || !*privkey + ) { s = !*identity ? US"identity" : !*selector ? US"selector" : US"private-key"; goto bad_arg_ret; |