diff options
Diffstat (limited to 'src/regress/lib/libssl/interop/client.c')
| -rw-r--r-- | src/regress/lib/libssl/interop/client.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/interop/client.c b/src/regress/lib/libssl/interop/client.c index d4d4f1e94d..9d56182932 100644 --- a/src/regress/lib/libssl/interop/client.c +++ b/src/regress/lib/libssl/interop/client.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: client.c,v 1.1.1.1 2018/11/07 01:08:49 bluhm Exp $ */ | 1 | /* $OpenBSD: client.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> |
| @@ -61,6 +62,7 @@ main(int argc, char *argv[]) | |||
| 61 | 62 | ||
| 62 | SSL_library_init(); | 63 | SSL_library_init(); |
| 63 | SSL_load_error_strings(); | 64 | SSL_load_error_strings(); |
| 65 | print_version(); | ||
| 64 | 66 | ||
| 65 | /* setup method and context */ | 67 | /* setup method and context */ |
| 66 | method = SSLv23_client_method(); | 68 | method = SSLv23_client_method(); |
| @@ -77,7 +79,6 @@ main(int argc, char *argv[]) | |||
| 77 | bio = BIO_new_connect(host_port); | 79 | bio = BIO_new_connect(host_port); |
| 78 | if (bio == NULL) | 80 | if (bio == NULL) |
| 79 | err_ssl(1, "BIO_new_connect"); | 81 | err_ssl(1, "BIO_new_connect"); |
| 80 | |||
| 81 | print_ciphers(SSL_get_ciphers(ssl)); | 82 | print_ciphers(SSL_get_ciphers(ssl)); |
| 82 | 83 | ||
| 83 | /* connect */ | 84 | /* connect */ |
