Fix typo in arc. Bug 2262
authorJeremy Harris <jgh146exb@wizmail.org>
Mon, 16 Apr 2018 08:15:17 +0000 (09:15 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Mon, 16 Apr 2018 08:19:16 +0000 (09:19 +0100)
src/src/arc.c

index fb9c953b0516a15ea6d1ad34f7f521038758e9bb..ddf73959c31eb69fec0326fd3da3b2cb06a1be65 100644 (file)
@@ -1568,7 +1568,7 @@ expire = now = 0;
 
 identity = string_nextinlist(&signspec, &sep, NULL, 0);
 selector = string_nextinlist(&signspec, &sep, NULL, 0);
-if (  !*identity | !*selector
+if (  !*identity || !*selector
    || !(privkey = string_nextinlist(&signspec, &sep, NULL, 0)) || !*privkey)
   {
   log_write(0, LOG_MAIN, "ARC: bad signing-specification (%s)",