Commit 4981372d authored by Richard Levitte's avatar Richard Levitte
Browse files

Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS

get a chance to be defined.
parent 3ebac273
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -61,6 +61,10 @@
#include <stdlib.h>
#include <string.h>

#include <openssl/e_os.h>
#include <openssl/crypto.h>
#include <openssl/rand.h>

#ifdef OPENSSL_SYS_VMS
#include <unixio.h>
#endif
@@ -73,10 +77,6 @@
# include <sys/stat.h>
#endif

#include <openssl/e_os.h>
#include <openssl/crypto.h>
#include <openssl/rand.h>

#undef BUFSIZE
#define BUFSIZE	1024
#define RAND_DATA 1024