summaryrefslogtreecommitdiffstats
path: root/ssl/s23_srvr.c
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2002-07-10 09:01:54 +0200
committerLutz Jänicke <jaenicke@openssl.org>2002-07-10 09:01:54 +0200
commit7b63c0fa8c309bed7848b5ca5810ae9e2f2fb3c1 (patch)
treeb17353bbf0eb8e7e4452b1c5044d84b6c0bc4e11 /ssl/s23_srvr.c
parentCiphers with NULL encryption were not properly handled because they were (diff)
downloadopenssl-7b63c0fa8c309bed7848b5ca5810ae9e2f2fb3c1.tar.xz
openssl-7b63c0fa8c309bed7848b5ca5810ae9e2f2fb3c1.zip
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_srvr.c')
-rw-r--r--ssl/s23_srvr.c2
1 files changed, 1 insertions, 1 deletions
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 <stdio.h>
+#include "ssl_locl.h"
#include <openssl/buffer.h>
#include <openssl/rand.h>
#include <openssl/objects.h>
#include <openssl/evp.h>
-#include "ssl_locl.h"
static SSL_METHOD *ssl23_get_server_method(int ver);
int ssl23_get_client_hello(SSL *s);