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, 23 Apr 2018 12:45:03 +0000 (13:45 +0100)
(cherry picked from commit 69a82da3e9018b082cee870030ecc557497301df)

src/src/arc.c

index 6f567dc5faf92bad38cd56d2ba48aabfc498fa75..557ea8510c6c6e17fcb2106068bb0fd3f32c0b7a 100644 (file)
@@ -1546,7 +1546,7 @@ pdkim_bodyhash * b;
 
 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)",