summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/apps/s_server.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/src/apps/s_server.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/lib/libssl/src/apps/s_server.c b/src/lib/libssl/src/apps/s_server.c
index 67886bbb58..333e09f3ca 100644
--- a/src/lib/libssl/src/apps/s_server.c
+++ b/src/lib/libssl/src/apps/s_server.c
@@ -146,7 +146,9 @@
146#undef OPENSSL_NO_DEPRECATED 146#undef OPENSSL_NO_DEPRECATED
147#endif 147#endif
148 148
149#include <sys/types.h>
149#include <sys/ioctl.h> 150#include <sys/ioctl.h>
151#include <sys/socket.h>
150 152
151#include <assert.h> 153#include <assert.h>
152#include <ctype.h> 154#include <ctype.h>
@@ -154,31 +156,30 @@
154#include <stdlib.h> 156#include <stdlib.h>
155#include <string.h> 157#include <string.h>
156#include <unistd.h> 158#include <unistd.h>
157#include <sys/socket.h>
158 159
159#include <openssl/e_os2.h> 160#include "apps.h"
160
161#include <sys/types.h>
162 161
163#include <openssl/lhash.h>
164#include <openssl/bn.h> 162#include <openssl/bn.h>
165#include "apps.h" 163#include <openssl/e_os2.h>
166#include <openssl/err.h> 164#include <openssl/err.h>
165#include <openssl/lhash.h>
166#include <openssl/ocsp.h>
167#include <openssl/pem.h> 167#include <openssl/pem.h>
168#include <openssl/x509.h>
169#include <openssl/ssl.h>
170#include <openssl/rand.h> 168#include <openssl/rand.h>
171#include <openssl/ocsp.h> 169#include <openssl/ssl.h>
170#include <openssl/x509.h>
171
172#ifndef OPENSSL_NO_DH 172#ifndef OPENSSL_NO_DH
173#include <openssl/dh.h> 173#include <openssl/dh.h>
174#endif 174#endif
175
175#ifndef OPENSSL_NO_RSA 176#ifndef OPENSSL_NO_RSA
176#include <openssl/rsa.h> 177#include <openssl/rsa.h>
177#endif 178#endif
179
178#include "s_apps.h" 180#include "s_apps.h"
179#include "timeouts.h" 181#include "timeouts.h"
180 182
181
182#ifndef OPENSSL_NO_RSA 183#ifndef OPENSSL_NO_RSA
183static RSA *tmp_rsa_cb(SSL * s, int is_export, int keylength); 184static RSA *tmp_rsa_cb(SSL * s, int is_export, int keylength);
184#endif 185#endif