X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/58ba3cb7ee2d5b417091beb70f8494a648c716f7..7f24626bd8b952e65394adf5f99bced26251b2ce:/cipher-aes.c diff --git a/cipher-aes.c b/cipher-aes.c index c41def60..3ea59496 100644 --- a/cipher-aes.c +++ b/cipher-aes.c @@ -23,10 +23,18 @@ */ #include "includes.h" -#if OPENSSL_VERSION_NUMBER < 0x00907000L -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 /* OPENSSL_VERSION_NUMBER */ +#endif /* USE_BUILTIN_RIJNDAEL */