diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2021-01-27 00:37:27 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2021-01-27 00:37:27 +0000 |
commit | b11e0e8bbbebb1634b94f87686b7c3a51599bc64 (patch) | |
tree | 5df8e884a3c4c0f3513e9036eb776bb738fec3a6 | |
parent | 6b4ed9902bb36db68ae50ba95b781be7bb7a3ae0 (diff) |
Logical not bitwise or. ok djm@
-rw-r--r-- | usr.bin/ssh/ssh-agent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index 8c35a7ceb4e..452e6529353 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/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 @@ -424,7 +424,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 || |