X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/c9307018b7d2ac5ce289bba4595253ce0656df6d..05ed7e1e54103c8fb7ba310aeb4c164ca3353a1b:/openssh/cipher-aes.c?ds=sidebyside 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 */