patch-src_racoon_eaytest_c 721 B

123456789101112131415161718192021222324252627
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- ipsec-tools-0.7.2.orig/src/racoon/eaytest.c 2008-07-16 10:50:02.000000000 +0200
  3. +++ ipsec-tools-0.7.2/src/racoon/eaytest.c 2009-05-29 15:33:04.286374004 +0200
  4. @@ -683,19 +683,23 @@ ciphertest(ac, av)
  5. eay_aes_encrypt, eay_aes_decrypt) < 0)
  6. return -1;
  7. +#ifndef OPENSSL_NO_BF
  8. if (ciphertest_1 ("BLOWFISH",
  9. &data, 8,
  10. &key, key.l,
  11. &iv0, 8,
  12. eay_bf_encrypt, eay_bf_decrypt) < 0)
  13. return -1;
  14. +#endif
  15. +#ifndef OPENSSL_NO_CAST
  16. if (ciphertest_1 ("CAST",
  17. &data, 8,
  18. &key, key.l,
  19. &iv0, 8,
  20. eay_cast_encrypt, eay_cast_decrypt) < 0)
  21. return -1;
  22. +#endif
  23. #ifdef HAVE_OPENSSL_IDEA_H
  24. if (ciphertest_1 ("IDEA",