summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2002-01-05 12:55:08 +0000
committerGeoff Thorpe <geoff@openssl.org>2002-01-05 12:55:08 +0000
commite4dd79bbc83f9eb4f55f3f1d04c4f72fea022778 (patch)
treec307b540cc56d44ecd04cdb51fc39bcf0ac55f4a
parentbc37d996fcfd7f1c7c97728a563a40c0a251d908 (diff)
downloadopenssl-new-e4dd79bbc83f9eb4f55f3f1d04c4f72fea022778.tar.gz
- Add the same header stuff to aes_locl.h as is in des_locl.h to avoid
undefined functions (memset, etc). - Put a .cvsignore in the aes directory too.
-rw-r--r--crypto/aes/.cvsignore2
-rw-r--r--crypto/aes/aes_locl.h9
2 files changed, 11 insertions, 0 deletions
diff --git a/crypto/aes/.cvsignore b/crypto/aes/.cvsignore
new file mode 100644
index 0000000000..c6d03a9dbc
--- /dev/null
+++ b/crypto/aes/.cvsignore
@@ -0,0 +1,2 @@
+lib
+Makefile.save
diff --git a/crypto/aes/aes_locl.h b/crypto/aes/aes_locl.h
index 5d3c367ec4..d49e829933 100644
--- a/crypto/aes/aes_locl.h
+++ b/crypto/aes/aes_locl.h
@@ -52,10 +52,19 @@
#ifndef HEADER_AES_LOCL_H
#define HEADER_AES_LOCL_H
+#include <openssl/e_os2.h>
+
#ifdef OPENSSL_NO_AES
#error AES is disabled.
#endif
+#include <stdio.h>
+#include <stdlib.h>
+
+#if defined(__STDC__) || defined(OPENSSL_SYS_VMS) || defined(M_XENIX) || defined(OPENSSL_SYS_MSDOS)
+#include <string.h>
+#endif
+
typedef unsigned long u32;
typedef unsigned short u16;
typedef unsigned char u8;