From 7b63c0fa8c309bed7848b5ca5810ae9e2f2fb3c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lutz=20J=C3=A4nicke?= Date: Wed, 10 Jul 2002 07:01:54 +0000 Subject: 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: --- ssl/s23_srvr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssl/s23_srvr.c') diff --git a/ssl/s23_srvr.c b/ssl/s23_srvr.c index 9e89cc7f9a..8743b61cbb 100644 --- a/ssl/s23_srvr.c +++ b/ssl/s23_srvr.c @@ -110,11 +110,11 @@ */ #include +#include "ssl_locl.h" #include #include #include #include -#include "ssl_locl.h" static SSL_METHOD *ssl23_get_server_method(int ver); int ssl23_get_client_hello(SSL *s); -- cgit v1.2.3