summaryrefslogtreecommitdiffstats
path: root/crypto/aes
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-03-18 14:30:20 -0400
committerRich Salz <rsalz@openssl.org>2016-03-20 19:48:36 -0400
commit3c27208fab1dc29f47f088490404df5abfcdfb05 (patch)
tree3654ea8c099e19203a48ce2688aeee02f46fd12b /crypto/aes
parent8230f6c764f854190358cf40f0e7e7ca5647d8cd (diff)
Remove #error from include files.
Don't have #error statements in header files, but instead wrap the contents of that file in #ifndef OPENSSL_NO_xxx This means it is now always safe to include the header file. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/aes')
-rw-r--r--crypto/aes/aes_locl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/aes/aes_locl.h b/crypto/aes/aes_locl.h
index 7ab2d19eb0..e49f35702b 100644
--- a/crypto/aes/aes_locl.h
+++ b/crypto/aes/aes_locl.h
@@ -52,11 +52,6 @@
# 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>
# include <string.h>