diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-09 00:42:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-09 00:42:28 +0000 |
commit | 284fe721bdf39fde25ba460411246b02ffb8dda3 (patch) | |
tree | 6d4fabadef8c5d0e77084a6dba48f3527faca889 /sbin/isakmpd | |
parent | 3fbc599c83de718d052db401fe92a1e199db0397 (diff) |
knf
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/math_2n.c | 8 | ||||
-rw-r--r-- | sbin/isakmpd/message.c | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/sbin/isakmpd/math_2n.c b/sbin/isakmpd/math_2n.c index a1fd7cbefcb..0ad09d2ae60 100644 --- a/sbin/isakmpd/math_2n.c +++ b/sbin/isakmpd/math_2n.c @@ -1,4 +1,4 @@ -/* $OpenBSD: math_2n.c,v 1.20 2005/04/08 22:32:10 cloder Exp $ */ +/* $OpenBSD: math_2n.c,v 1.21 2005/04/09 00:42:27 deraadt Exp $ */ /* $EOM: math_2n.c,v 1.15 1999/04/20 09:23:30 niklas Exp $ */ /* @@ -396,8 +396,7 @@ b2n_cmp_null(b2n_ptr a) do { if (a->limp[i]) return 1; - } - while (++i < a->chunks); + } while (++i < a->chunks); return 0; } @@ -940,8 +939,7 @@ b2n_sqrt(b2n_ptr zo, b2n_ptr b, b2n_ptr ip) if (b2n_add(w, w, p)) /* w**2 + p */ goto fail; } - } - while (!b2n_cmp_null(w)); + } while (!b2n_cmp_null(w)); B2N_SWAP(zo, z); diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c index fb34857e1dc..07a340fe963 100644 --- a/sbin/isakmpd/message.c +++ b/sbin/isakmpd/message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: message.c,v 1.107 2005/04/08 23:15:26 hshoexer Exp $ */ +/* $OpenBSD: message.c,v 1.108 2005/04/09 00:42:27 deraadt Exp $ */ /* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */ /* @@ -364,8 +364,7 @@ next_payload: /* Advance to next payload. */ buf += len; sz += len; - } - while (next != ISAKMP_PAYLOAD_NONE); + } while (next != ISAKMP_PAYLOAD_NONE); return sz; } |