--- ipsec-tools-0.8.2.orig/src/racoon/crypto_openssl.c 2012-12-24 15:50:39.000000000 +0100 +++ ipsec-tools-0.8.2/src/racoon/crypto_openssl.c 2015-03-19 17:44:43.000000000 +0100 @@ -63,8 +63,12 @@ #ifdef HAVE_OPENSSL_ENGINE_H #include #endif +#ifndef OPENSSL_NO_BF #include +#endif +#ifndef OPENSSL_NO_CAST #include +#endif #include #ifdef HAVE_OPENSSL_RC5_H #include @@ -1292,6 +1296,7 @@ eay_idea_keylen(len) } #endif +#ifndef OPENSSL_NO_BF /* * BLOWFISH-CBC */ @@ -1326,6 +1331,7 @@ eay_bf_keylen(len) return -1; return len; } +#endif #ifdef HAVE_OPENSSL_RC5_H /* @@ -1437,6 +1443,7 @@ eay_3des_keylen(len) return 192; } +#ifndef OPENSSL_NO_CAST /* * CAST-CBC */ @@ -1471,6 +1478,7 @@ eay_cast_keylen(len) return -1; return len; } +#endif /* * AES(RIJNDAEL)-CBC