summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/des.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/des/des.c')
-rw-r--r--src/lib/libcrypto/des/des.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libcrypto/des/des.c b/src/lib/libcrypto/des/des.c
index 91d7153b34..0197489c9e 100644
--- a/src/lib/libcrypto/des/des.c
+++ b/src/lib/libcrypto/des/des.c
@@ -58,6 +58,7 @@
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include <stdlib.h> 60#include <stdlib.h>
61#include <string.h>
61#ifndef MSDOS 62#ifndef MSDOS
62#ifndef VMS 63#ifndef VMS
63#include <openssl/opensslconf.h> 64#include <openssl/opensslconf.h>
@@ -69,7 +70,7 @@
69#include <math.h> 70#include <math.h>
70#endif /* __DECC */ 71#endif /* __DECC */
71#endif /* VMS */ 72#endif /* VMS */
72#else 73#else /* MSDOS */
73#include <io.h> 74#include <io.h>
74#endif 75#endif
75 76
@@ -88,10 +89,6 @@
88#include <openssl/des.h> 89#include <openssl/des.h>
89#include <openssl/rand.h> 90#include <openssl/rand.h>
90 91
91#if defined(__STDC__) || defined(VMS) || defined(M_XENIX) || defined(MSDOS)
92#include <string.h>
93#endif
94
95void usage(void); 92void usage(void);
96void doencryption(void); 93void doencryption(void);
97int uufwrite(unsigned char *data, int size, unsigned int num, FILE *fp); 94int uufwrite(unsigned char *data, int size, unsigned int num, FILE *fp);