diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp_test.c')
-rw-r--r-- | src/lib/libcrypto/evp/evp_test.c | 4 |
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 | ||