diff options
Diffstat (limited to 'src/lib/libssl/src/apps/s_server.c')
-rw-r--r-- | src/lib/libssl/src/apps/s_server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/src/apps/s_server.c b/src/lib/libssl/src/apps/s_server.c index 1a2b9804ef..1396992739 100644 --- a/src/lib/libssl/src/apps/s_server.c +++ b/src/lib/libssl/src/apps/s_server.c | |||
@@ -151,6 +151,7 @@ | |||
151 | #include <stdio.h> | 151 | #include <stdio.h> |
152 | #include <stdlib.h> | 152 | #include <stdlib.h> |
153 | #include <string.h> | 153 | #include <string.h> |
154 | #include <sys/socket.h> | ||
154 | 155 | ||
155 | #include <openssl/e_os2.h> | 156 | #include <openssl/e_os2.h> |
156 | #ifdef OPENSSL_NO_STDIO | 157 | #ifdef OPENSSL_NO_STDIO |
@@ -161,7 +162,6 @@ | |||
161 | 162 | ||
162 | #include <openssl/lhash.h> | 163 | #include <openssl/lhash.h> |
163 | #include <openssl/bn.h> | 164 | #include <openssl/bn.h> |
164 | #define USE_SOCKETS | ||
165 | #include "apps.h" | 165 | #include "apps.h" |
166 | #include <openssl/err.h> | 166 | #include <openssl/err.h> |
167 | #include <openssl/pem.h> | 167 | #include <openssl/pem.h> |
@@ -523,7 +523,7 @@ static void sv_usage(void) | |||
523 | BIO_printf(bio_err," -engine id - Initialise and use the specified engine\n"); | 523 | BIO_printf(bio_err," -engine id - Initialise and use the specified engine\n"); |
524 | #endif | 524 | #endif |
525 | BIO_printf(bio_err," -id_prefix arg - Generate SSL/TLS session IDs prefixed by 'arg'\n"); | 525 | BIO_printf(bio_err," -id_prefix arg - Generate SSL/TLS session IDs prefixed by 'arg'\n"); |
526 | BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR); | 526 | BIO_printf(bio_err," -rand file%cfile%c...\n", ':', ':'); |
527 | #ifndef OPENSSL_NO_TLSEXT | 527 | #ifndef OPENSSL_NO_TLSEXT |
528 | BIO_printf(bio_err," -servername host - servername for HostName TLS extension\n"); | 528 | BIO_printf(bio_err," -servername host - servername for HostName TLS extension\n"); |
529 | BIO_printf(bio_err," -servername_fatal - on mismatch send fatal alert (default warning alert)\n"); | 529 | BIO_printf(bio_err," -servername_fatal - on mismatch send fatal alert (default warning alert)\n"); |
@@ -1744,7 +1744,7 @@ end: | |||
1744 | bio_s_out=NULL; | 1744 | bio_s_out=NULL; |
1745 | } | 1745 | } |
1746 | apps_shutdown(); | 1746 | apps_shutdown(); |
1747 | OPENSSL_EXIT(ret); | 1747 | return(ret); |
1748 | } | 1748 | } |
1749 | 1749 | ||
1750 | static void print_stats(BIO *bio, SSL_CTX *ssl_ctx) | 1750 | static void print_stats(BIO *bio, SSL_CTX *ssl_ctx) |