OLD | NEW |
1 /* crypto/engine/enginetest.c */ | 1 /* crypto/engine/enginetest.c */ |
2 /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
3 * project 2000. | 3 * project 2000. |
4 */ | 4 */ |
5 /* ==================================================================== | 5 /* ==================================================================== |
6 * Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved. | 6 * Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved. |
7 * | 7 * |
8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
10 * are met: | 10 * are met: |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 if(new_h1) ENGINE_free(new_h1); | 269 if(new_h1) ENGINE_free(new_h1); |
270 if(new_h2) ENGINE_free(new_h2); | 270 if(new_h2) ENGINE_free(new_h2); |
271 if(new_h3) ENGINE_free(new_h3); | 271 if(new_h3) ENGINE_free(new_h3); |
272 if(new_h4) ENGINE_free(new_h4); | 272 if(new_h4) ENGINE_free(new_h4); |
273 for(loop = 0; loop < 512; loop++) | 273 for(loop = 0; loop < 512; loop++) |
274 if(block[loop]) | 274 if(block[loop]) |
275 ENGINE_free(block[loop]); | 275 ENGINE_free(block[loop]); |
276 ENGINE_cleanup(); | 276 ENGINE_cleanup(); |
277 CRYPTO_cleanup_all_ex_data(); | 277 CRYPTO_cleanup_all_ex_data(); |
278 ERR_free_strings(); | 278 ERR_free_strings(); |
279 » ERR_remove_state(0); | 279 » ERR_remove_thread_state(NULL); |
280 CRYPTO_mem_leaks_fp(stderr); | 280 CRYPTO_mem_leaks_fp(stderr); |
281 return to_return; | 281 return to_return; |
282 } | 282 } |
283 #endif | 283 #endif |
OLD | NEW |