Deleted Added
full compact
evp_test.c (160814) evp_test.c (162911)
1/* Written by Ben Laurie, 2001 */
2/*
3 * Copyright (c) 2001 The OpenSSL Project. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 403 unchanged lines hidden (view full) ---

412#endif
413#ifdef OPENSSL_NO_RC4
414 if (strstr(cipher, "RC4") == cipher)
415 {
416 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
417 continue;
418 }
419#endif
1/* Written by Ben Laurie, 2001 */
2/*
3 * Copyright (c) 2001 The OpenSSL Project. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 403 unchanged lines hidden (view full) ---

412#endif
413#ifdef OPENSSL_NO_RC4
414 if (strstr(cipher, "RC4") == cipher)
415 {
416 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
417 continue;
418 }
419#endif
420#ifdef OPENSSL_NO_CAMELLIA
421 if (strstr(cipher, "CAMELLIA") == cipher)
422 {
423 fprintf(stdout, "Cipher disabled, skipping %s\n", cipher);
424 continue;
425 }
426#endif
420 fprintf(stderr,"Can't find %s\n",cipher);
421 EXIT(3);
422 }
423 }
424
425#ifndef OPENSSL_NO_ENGINE
426 ENGINE_cleanup();
427#endif
428 EVP_cleanup();
429 CRYPTO_cleanup_all_ex_data();
430 ERR_remove_state(0);
431 ERR_free_strings();
432 CRYPTO_mem_leaks_fp(stderr);
433
434 return 0;
435 }
427 fprintf(stderr,"Can't find %s\n",cipher);
428 EXIT(3);
429 }
430 }
431
432#ifndef OPENSSL_NO_ENGINE
433 ENGINE_cleanup();
434#endif
435 EVP_cleanup();
436 CRYPTO_cleanup_all_ex_data();
437 ERR_remove_state(0);
438 ERR_free_strings();
439 CRYPTO_mem_leaks_fp(stderr);
440
441 return 0;
442 }