diff options
Diffstat (limited to 'src/regress/lib/libssl/interop/server.c')
| -rw-r--r-- | src/regress/lib/libssl/interop/server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/interop/server.c b/src/regress/lib/libssl/interop/server.c index 862ca21fcb..6f40c4899c 100644 --- a/src/regress/lib/libssl/interop/server.c +++ b/src/regress/lib/libssl/interop/server.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: server.c,v 1.1.1.1 2018/11/07 01:08:49 bluhm Exp $ */ | 1 | /* $OpenBSD: server.c,v 1.2 2018/11/07 06:29:26 bluhm Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018 Alexander Bluhm <bluhm@openbsd.org> | 3 | * Copyright (c) 2018 Alexander Bluhm <bluhm@openbsd.org> |
| 4 | * | 4 | * |
| @@ -21,6 +21,7 @@ | |||
| 21 | #include <err.h> | 21 | #include <err.h> |
| 22 | #include <netdb.h> | 22 | #include <netdb.h> |
| 23 | #include <stdio.h> | 23 | #include <stdio.h> |
| 24 | #include <string.h> | ||
| 24 | #include <unistd.h> | 25 | #include <unistd.h> |
| 25 | 26 | ||
| 26 | #include <openssl/err.h> | 27 | #include <openssl/err.h> |
| @@ -65,6 +66,7 @@ main(int argc, char *argv[]) | |||
| 65 | 66 | ||
| 66 | SSL_library_init(); | 67 | SSL_library_init(); |
| 67 | SSL_load_error_strings(); | 68 | SSL_load_error_strings(); |
| 69 | print_version(); | ||
| 68 | 70 | ||
| 69 | /* setup method and context */ | 71 | /* setup method and context */ |
| 70 | method = SSLv23_server_method(); | 72 | method = SSLv23_server_method(); |
| @@ -93,7 +95,6 @@ main(int argc, char *argv[]) | |||
| 93 | bio = BIO_new_accept(host_port); | 95 | bio = BIO_new_accept(host_port); |
| 94 | if (bio == NULL) | 96 | if (bio == NULL) |
| 95 | err_ssl(1, "BIO_new_accept"); | 97 | err_ssl(1, "BIO_new_accept"); |
| 96 | |||
| 97 | print_ciphers(SSL_get_ciphers(ssl)); | 98 | print_ciphers(SSL_get_ciphers(ssl)); |
| 98 | 99 | ||
| 99 | /* bind, listen */ | 100 | /* bind, listen */ |
