X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/3b6e3da94566c13b12cf15baa6453ae8bb8b8712..851d192b680f9b63ec66dd4e1cbf8ffc2baedbb9:/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 */