X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/58b60d163a3c1a5735240ec1697d437b7aaf524a..c3c5aa173509666627c398161e9b7f3a34d2fdc2:/openssh/cipher-aes.c diff --git a/openssh/cipher-aes.c b/openssh/cipher-aes.c index c41def6..3ea5949 100644 --- a/openssh/cipher-aes.c +++ b/openssh/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 */