diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2002-07-10 06:57:54 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2002-07-10 06:57:54 +0000 |
commit | 7e8852c54950cd2a66db322dd6338e47da6dcfc8 (patch) | |
tree | 6d3afa7dd8053f9edb8c2146bd713cede91ac25f /ssl/s23_pkt.c | |
parent | 4064a852058d4217b8de8cfbc5c529c2bebfdfc5 (diff) |
Reorder inclusion of header files:
des_old.h redefines crypt:
#define crypt(b,s)\
DES_crypt((b),(s))
This scheme leads to failure, if header files with the OS's true definition
of crypt() are processed _after_ des_old.h was processed. This is e.g. the
case on HP-UX with unistd.h.
As evp.h now again includes des.h (which includes des_old.h), this problem
only came up after this modification.
Solution: move header files (indirectly) including e_os.h before the header
files (indirectly) including evp.h.
Submitted by:
Reviewed by:
PR:
Diffstat (limited to 'ssl/s23_pkt.c')
-rw-r--r-- | ssl/s23_pkt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s23_pkt.c b/ssl/s23_pkt.c index f45e1ce3d8..4ca6a1b258 100644 --- a/ssl/s23_pkt.c +++ b/ssl/s23_pkt.c @@ -59,9 +59,9 @@ #include <stdio.h> #include <errno.h> #define USE_SOCKETS +#include "ssl_locl.h" #include <openssl/evp.h> #include <openssl/buffer.h> -#include "ssl_locl.h" int ssl23_write_bytes(SSL *s) { |