summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp_test.c
diff options
context:
space:
mode:
authorbeck <>2002-05-21 01:49:11 +0000
committerbeck <>2002-05-21 01:49:11 +0000
commit7ebf0f8371844decf17c65829147760ed09339a6 (patch)
treeb39f86312e7ebfd4945e393b8949356694ad06fe /src/lib/libcrypto/evp/evp_test.c
parent2117eaece54016b776476220b41b97441e75b0e0 (diff)
downloadopenbsd-7ebf0f8371844decf17c65829147760ed09339a6.tar.gz
openbsd-7ebf0f8371844decf17c65829147760ed09339a6.tar.bz2
openbsd-7ebf0f8371844decf17c65829147760ed09339a6.zip
Merge openssl-0.9.7-stable-SNAP-20020519
Diffstat (limited to 'src/lib/libcrypto/evp/evp_test.c')
-rw-r--r--src/lib/libcrypto/evp/evp_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libcrypto/evp/evp_test.c b/src/lib/libcrypto/evp/evp_test.c
index 3607fe7776..decd0713d6 100644
--- a/src/lib/libcrypto/evp/evp_test.c
+++ b/src/lib/libcrypto/evp/evp_test.c
@@ -209,6 +209,8 @@ static void test1(const EVP_CIPHER *c,const unsigned char *key,int kn,
209 exit(9); 209 exit(9);
210 } 210 }
211 211
212 EVP_CIPHER_CTX_cleanup(&ctx);
213
212 printf("\n"); 214 printf("\n");
213 } 215 }
214 216
@@ -279,6 +281,8 @@ static int test_digest(const char *digest,
279 281
280 printf("\n"); 282 printf("\n");
281 283
284 EVP_MD_CTX_cleanup(&ctx);
285
282 return 1; 286 return 1;
283 } 287 }
284 288