aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des')
-rw-r--r--crypto/des/des_old.c1
-rw-r--r--crypto/des/des_old.h5
-rw-r--r--crypto/des/destest.c1
3 files changed, 4 insertions, 3 deletions
diff --git a/crypto/des/des_old.c b/crypto/des/des_old.c
index 76f4f5653e..1992697362 100644
--- a/crypto/des/des_old.c
+++ b/crypto/des/des_old.c
@@ -73,6 +73,7 @@
*/
#include <openssl/des_old.h>
+#include <openssl/des.h>
#include <openssl/rand.h>
const char *des_options(void)
diff --git a/crypto/des/des_old.h b/crypto/des/des_old.h
index 0fa708dfc2..1d2781b78f 100644
--- a/crypto/des/des_old.h
+++ b/crypto/des/des_old.h
@@ -72,8 +72,8 @@
*
*/
-#ifndef HEADER_DES_COMP_H
-#define HEADER_DES_COMP_H
+#ifndef HEADER_DES_OLD_H
+#define HEADER_DES_OLD_H
#ifdef OPENSSL_NO_DES
#error DES is disabled.
@@ -85,7 +85,6 @@
#include <openssl/opensslconf.h> /* DES_LONG */
#include <openssl/e_os2.h> /* OPENSSL_EXTERN */
-#include <openssl/des.h>
#include <openssl/symhacks.h>
#ifdef OPENSSL_BUILD_SHLIBCRYPTO
diff --git a/crypto/des/destest.c b/crypto/des/destest.c
index 1c7936f398..88fe32a622 100644
--- a/crypto/des/destest.c
+++ b/crypto/des/destest.c
@@ -82,6 +82,7 @@ int main(int argc, char *argv[])
return(0);
}
#else
+#include <openssl/des.h>
#include <openssl/des_old.h>
#if defined(PERL5) || defined(__FreeBSD__)