summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/s_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/s_client.c')
-rw-r--r--src/usr.bin/openssl/s_client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr.bin/openssl/s_client.c b/src/usr.bin/openssl/s_client.c
index 158992aa04..cedc495218 100644
--- a/src/usr.bin/openssl/s_client.c
+++ b/src/usr.bin/openssl/s_client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_client.c,v 1.34 2018/02/07 04:57:06 jsing Exp $ */ 1/* $OpenBSD: s_client.c,v 1.35 2018/02/07 05:47:55 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -592,7 +592,7 @@ s_client_main(int argc, char **argv)
592 goto bad; 592 goto bad;
593 } 593 }
594 if (badop) { 594 if (badop) {
595bad: 595 bad:
596 if (errstr) 596 if (errstr)
597 BIO_printf(bio_err, "invalid argument %s: %s\n", 597 BIO_printf(bio_err, "invalid argument %s: %s\n",
598 *argv, errstr); 598 *argv, errstr);
@@ -1200,13 +1200,13 @@ re_start:
1200 } 1200 }
1201 1201
1202 ret = 0; 1202 ret = 0;
1203shut: 1203 shut:
1204 if (in_init) 1204 if (in_init)
1205 print_stuff(bio_c_out, con, full_log); 1205 print_stuff(bio_c_out, con, full_log);
1206 SSL_shutdown(con); 1206 SSL_shutdown(con);
1207 shutdown(SSL_get_fd(con), SHUT_RD); 1207 shutdown(SSL_get_fd(con), SHUT_RD);
1208 close(SSL_get_fd(con)); 1208 close(SSL_get_fd(con));
1209end: 1209 end:
1210 if (con != NULL) { 1210 if (con != NULL) {
1211 if (prexit != 0) 1211 if (prexit != 0)
1212 print_stuff(bio_c_out, con, 1); 1212 print_stuff(bio_c_out, con, 1);