diff options
author | 1999-04-05 21:01:41 +0000 | |
---|---|---|
committer | 1999-04-05 21:01:41 +0000 | |
commit | 57de908c1fe3c9ab4156aa86b392cb9a78c8741c (patch) | |
tree | cc72de8b4dbc8256d22c2810f687db04de64f1d9 | |
parent | Merge with EOM 1.13 (diff) | |
download | wireguard-openbsd-57de908c1fe3c9ab4156aa86b392cb9a78c8741c.tar.xz wireguard-openbsd-57de908c1fe3c9ab4156aa86b392cb9a78c8741c.zip |
Merge with EOM 1.7
Mem leak fix
1999 copyrights
-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; } |