summaryrefslogtreecommitdiff
path: root/package/ipsec-tools/patches/patch-src_racoon_eaytest_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/ipsec-tools/patches/patch-src_racoon_eaytest_c')
-rw-r--r--package/ipsec-tools/patches/patch-src_racoon_eaytest_c27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/ipsec-tools/patches/patch-src_racoon_eaytest_c b/package/ipsec-tools/patches/patch-src_racoon_eaytest_c
new file mode 100644
index 000000000..a7d7807c4
--- /dev/null
+++ b/package/ipsec-tools/patches/patch-src_racoon_eaytest_c
@@ -0,0 +1,27 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- ipsec-tools-0.7.2.orig/src/racoon/eaytest.c 2008-07-16 10:50:02.000000000 +0200
++++ ipsec-tools-0.7.2/src/racoon/eaytest.c 2009-05-29 15:33:04.286374004 +0200
+@@ -683,19 +683,23 @@ ciphertest(ac, av)
+ eay_aes_encrypt, eay_aes_decrypt) < 0)
+ return -1;
+
++#ifndef OPENSSL_NO_BF
+ if (ciphertest_1 ("BLOWFISH",
+ &data, 8,
+ &key, key.l,
+ &iv0, 8,
+ eay_bf_encrypt, eay_bf_decrypt) < 0)
+ return -1;
++#endif
+
++#ifndef OPENSSL_NO_CAST
+ if (ciphertest_1 ("CAST",
+ &data, 8,
+ &key, key.l,
+ &iv0, 8,
+ eay_cast_encrypt, eay_cast_decrypt) < 0)
+ return -1;
++#endif
+
+ #ifdef HAVE_OPENSSL_IDEA_H
+ if (ciphertest_1 ("IDEA",