diff options
author | jcs@openbsd.org <jcs@openbsd.org> | 2023-03-09 22:06:24 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-03-10 00:40:02 +0100 |
commit | 633d3dc2a1e9e2a013d019a0576a0771c8423713 (patch) | |
tree | b06f1bb6ad6891dcd2ede8b3ec70dfd9c4f1e8bb /ssh-agent.c | |
parent | upstream: Re-split the merge of the reorder-hostkeys test. (diff) | |
download | openssh-633d3dc2a1e9e2a013d019a0576a0771c8423713.tar.xz openssh-633d3dc2a1e9e2a013d019a0576a0771c8423713.zip |
upstream: modify parentheses in conditionals to make it clearer what is
being assigned and what is being checked
ok djm dtucker
OpenBSD-Commit-ID: 19c10baa46ae559474409f75a5cb3d0eade7a9b8
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index 5e68c7deb..618bb1981 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.296 2023/03/08 04:43:12 guenther Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.297 2023/03/09 21:06:24 jcs Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1023,8 +1023,8 @@ parse_dest_constraint(struct sshbuf *m, struct dest_constraint *dc) error_fr(r, "parse"); goto out; } - if ((r = parse_dest_constraint_hop(frombuf, &dc->from) != 0) || - (r = parse_dest_constraint_hop(tobuf, &dc->to) != 0)) + if ((r = parse_dest_constraint_hop(frombuf, &dc->from)) != 0 || + (r = parse_dest_constraint_hop(tobuf, &dc->to)) != 0) goto out; /* already logged */ if (elen != 0) { error_f("unsupported extensions (len %zu)", elen); |