Reorder inclusion of header files:
authorLutz Jänicke <jaenicke@openssl.org>
Wed, 10 Jul 2002 06:57:54 +0000 (06:57 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Wed, 10 Jul 2002 06:57:54 +0000 (06:57 +0000)
commit7e8852c54950cd2a66db322dd6338e47da6dcfc8
tree6d3afa7dd8053f9edb8c2146bd713cede91ac25f
parent4064a852058d4217b8de8cfbc5c529c2bebfdfc5
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:
22 files changed:
apps/nseq.c
apps/ocsp.c
apps/openssl.c
crypto/engine/hw_ncipher.c
crypto/engine/hw_sureware.c
crypto/evp/evp_pbe.c
crypto/evp/p5_crpt.c
crypto/evp/p5_crpt2.c
ssl/s23_clnt.c
ssl/s23_pkt.c
ssl/s23_srvr.c
ssl/s3_both.c
ssl/s3_clnt.c
ssl/s3_enc.c
ssl/s3_pkt.c
ssl/s3_srvr.c
ssl/ssl_asn1.c
ssl/ssl_lib.c
ssl/ssl_rsa.c
ssl/t1_clnt.c
ssl/t1_enc.c
ssl/t1_srvr.c