1
0

patch-src_racoon_eaytest_c 671 B

1234567891011121314151617181920212223242526
  1. --- ipsec-tools-0.8.0.orig/src/racoon/eaytest.c 2010-01-18 00:02:48.000000000 +0100
  2. +++ ipsec-tools-0.8.0/src/racoon/eaytest.c 2011-03-31 13:23:53.361808366 +0200
  3. @@ -684,19 +684,23 @@ ciphertest(ac, av)
  4. eay_aes_encrypt, eay_aes_decrypt) < 0)
  5. return -1;
  6. +#ifndef OPENSSL_NO_BF
  7. if (ciphertest_1 ("BLOWFISH",
  8. &data, 8,
  9. &key, key.l,
  10. &iv0, 8,
  11. eay_bf_encrypt, eay_bf_decrypt) < 0)
  12. return -1;
  13. +#endif
  14. +#ifndef OPENSSL_NO_CAST
  15. if (ciphertest_1 ("CAST",
  16. &data, 8,
  17. &key, key.l,
  18. &iv0, 8,
  19. eay_cast_encrypt, eay_cast_decrypt) < 0)
  20. return -1;
  21. +#endif
  22. #ifdef HAVE_OPENSSL_IDEA_H
  23. if (ciphertest_1 ("IDEA",