]> andersk Git - openssh.git/blobdiff - cipher-aes.c
- djm@cvs.openbsd.org 2010/01/30 02:54:53
[openssh.git] / cipher-aes.c
index c41def600ca0108e925dde1946396e8fca96abb7..3ea594969eab382f1a5b5ad683d74d64ee7c3a73 100644 (file)
  */
 
 #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 <sys/types.h>
 
 #include <openssl/evp.h>
+
+#include <stdarg.h>
+#include <string.h>
+
 #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 */
This page took 0.256409 seconds and 4 git commands to generate.