~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove CRs. Oops :-/
[sgt/putty]
/
sshdh.c
diff --git
a/sshdh.c
b/sshdh.c
index
27d5aab
..
9235183
100644
(file)
--- a/
sshdh.c
+++ b/
sshdh.c
@@
-140,6
+140,8
@@
Bignum dh_create_e(void *handle, int nbits)
}
} while (bignum_cmp(ctx->x, One) <= 0 || bignum_cmp(ctx->x, ctx->q) >= 0);
}
} while (bignum_cmp(ctx->x, One) <= 0 || bignum_cmp(ctx->x, ctx->q) >= 0);
+ sfree(buf);
+
/*
* Done. Now compute e = g^x mod p.
*/
/*
* Done. Now compute e = g^x mod p.
*/