diff options
Diffstat (limited to 'crypto/bn/bntest.c')
-rw-r--r-- | crypto/bn/bntest.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/bn/bntest.c b/crypto/bn/bntest.c index df4b81f5b2..652f6794f0 100644 --- a/crypto/bn/bntest.c +++ b/crypto/bn/bntest.c @@ -104,6 +104,8 @@ int main(int argc, char *argv[]) BIO *out; char *outfile=NULL; + results = 0; + argc--; argv++; while (argc >= 1) @@ -207,6 +209,9 @@ int main(int argc, char *argv[]) if (!test_exp(out,ctx)) goto err; fflush(stdout); + BN_CTX_free(ctx); + BIO_free(out); + /**/ exit(0); err: |