summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-04-16 09:15:17 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2018-04-16 09:19:16 +0100
commit69a82da3e9018b082cee870030ecc557497301df (patch)
treeacd2e10454a6f00cea74fd6e968ff68eb88a435a
parentd9594575683785c7125c5fd1a15c8346a6f8b82b (diff)
Fix typo in arc. Bug 2262
-rw-r--r--src/src/arc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/arc.c b/src/src/arc.c
index fb9c953b0..ddf73959c 100644
--- a/src/src/arc.c
+++ b/src/src/arc.c
@@ -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)",