X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/3b6e3da94566c13b12cf15baa6453ae8bb8b8712..0d00c5cb3abb25bd881ac0c371e1bd16ad3ee3d5:/cipher-aes.c diff --git a/cipher-aes.c b/cipher-aes.c index bbfbe721..3ea59496 100644 --- a/cipher-aes.c +++ b/cipher-aes.c @@ -22,11 +22,19 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#if OPENSSL_VERSION_NUMBER < 0x00907000L #include "includes.h" -RCSID("$OpenBSD: cipher-aes.c,v 1.1 2003/05/15 03:08:29 markus Exp $"); + +/* compatibility with old or broken OpenSSL versions */ +#include "openbsd-compat/openssl-compat.h" + +#ifdef USE_BUILTIN_RIJNDAEL +#include #include + +#include +#include + #include "rijndael.h" #include "xmalloc.h" #include "log.h" @@ -153,4 +161,4 @@ evp_rijndael(void) #endif return (&rijndal_cbc); } -#endif +#endif /* USE_BUILTIN_RIJNDAEL */