diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-04-05 21:01:42 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-04-05 21:01:42 +0000 |
commit | 74a8378f1e75e6862fe1a5c791d0ab2579d8324b (patch) | |
tree | ee72c4f5df668c2b4f456bab7484c7c3b6e745fe /sbin | |
parent | 9f4fb8a07ff330a9f6ba2848545c337fc30989c6 (diff) |
Merge with EOM 1.7
Mem leak fix
1999 copyrights
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/math_ec2n.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/isakmpd/math_ec2n.c b/sbin/isakmpd/math_ec2n.c index 404a0c1bfec..ed07a060522 100644 --- a/sbin/isakmpd/math_ec2n.c +++ b/sbin/isakmpd/math_ec2n.c @@ -1,8 +1,9 @@ -/* $OpenBSD: math_ec2n.c,v 1.4 1999/02/26 03:46:40 niklas Exp $ */ -/* $EOM: math_ec2n.c,v 1.5 1999/02/25 11:39:13 niklas Exp $ */ +/* $OpenBSD: math_ec2n.c,v 1.5 1999/04/05 21:01:41 niklas Exp $ */ +/* $EOM: math_ec2n.c,v 1.7 1999/04/05 08:04:58 niklas Exp $ */ /* * Copyright (c) 1998 Niels Provos. All rights reserved. + * Copyright (c) 1999 Niklas Hallqvist. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -172,6 +173,8 @@ ec2np_find_y (ec2np_ptr p, ec2ng_ptr g) b2n_mul (p->y, p->y, p->x); b2n_mod (p->y, p->y, g->p); + b2n_clear (right); + return 1; } |