aboutsummaryrefslogtreecommitdiff
path: root/crypto/bn/bntest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/bntest.c')
-rw-r--r--crypto/bn/bntest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/bn/bntest.c b/crypto/bn/bntest.c
index df4b81f..652f679 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: