summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2021-01-27 00:37:26 +0000
committerDamien Miller <djm@mindrot.org>2021-01-27 11:45:50 +1100
commitd1532d90074b212054d5fd965f833231b09982f5 (patch)
tree828101dfb0376d215a3c4039e761f325dac4fcd5 /ssh-agent.c
parent507b448a2465a53ab03a88acbc71cc51b48ca6ac (diff)
downloadopenssh-git-d1532d90074b212054d5fd965f833231b09982f5.tar.gz
upstream: Logical not bitwise or. ok djm@
OpenBSD-Commit-ID: d4dc855cf04951b93c45caa383e1ac9af0a3b0e5
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 2860d74f..ef6fa345 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.272 2021/01/26 11:25:01 dtucker Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.273 2021/01/27 00:37:26 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -438,7 +438,7 @@ process_sign_request2(SocketEntry *e)
debug_f("entering");
- if ((msg = sshbuf_new()) == NULL | (data = sshbuf_new()) == NULL)
+ if ((msg = sshbuf_new()) == NULL || (data = sshbuf_new()) == NULL)
fatal_f("sshbuf_new failed");
if ((r = sshkey_froms(e->request, &key)) != 0 ||
(r = sshbuf_get_stringb(e->request, data)) != 0 ||