diff options
Diffstat (limited to 'sbin')
-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; } |