diff options
author | lteo <> | 2015-09-11 02:10:32 +0000 |
---|---|---|
committer | lteo <> | 2015-09-11 02:10:32 +0000 |
commit | f9ca4a4d0e44efd1de78e2483b5d28a9e47ffc40 (patch) | |
tree | 0fa03895a0c1248e1002af419f3ee71b39a45765 /src | |
parent | dc0ce4c61a7a2d183e86a418bad41a206734583a (diff) | |
download | openbsd-f9ca4a4d0e44efd1de78e2483b5d28a9e47ffc40.tar.gz openbsd-f9ca4a4d0e44efd1de78e2483b5d28a9e47ffc40.tar.bz2 openbsd-f9ca4a4d0e44efd1de78e2483b5d28a9e47ffc40.zip |
Change the default behavior of the s_time command so that it will
perform a proper shutdown by sending a "close notify" alert to the
server. This allows s_time to benchmark a full TLS connection
more accurately.
Introduce a new flag called -no_shutdown to make s_time adopt the
previous behavior (i.e. shut down the connection without notifying the
server) so that comparisons can still be made with OpenSSL's version.
The idea of using a flag (which replaces a #define) was suggested by
bcook@. Thanks to millert@ and miod@ as well for their feedback on an
earlier diff which resulted in this change.
ok bcook@ beck@
Diffstat (limited to 'src')
-rw-r--r-- | src/usr.bin/openssl/openssl.1 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1 index ea6f9fcbb0..23006b70c6 100644 --- a/src/usr.bin/openssl/openssl.1 +++ b/src/usr.bin/openssl/openssl.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: openssl.1,v 1.19 2015/08/11 05:01:03 landry Exp $ | 1 | .\" $OpenBSD: openssl.1,v 1.20 2015/09/11 02:10:32 lteo Exp $ |
2 | .\" ==================================================================== | 2 | .\" ==================================================================== |
3 | .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | .\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -112,7 +112,7 @@ | |||
112 | .\" | 112 | .\" |
113 | .\" OPENSSL | 113 | .\" OPENSSL |
114 | .\" | 114 | .\" |
115 | .Dd $Mdocdate: August 11 2015 $ | 115 | .Dd $Mdocdate: September 11 2015 $ |
116 | .Dt OPENSSL 1 | 116 | .Dt OPENSSL 1 |
117 | .Os | 117 | .Os |
118 | .Sh NAME | 118 | .Sh NAME |
@@ -7074,6 +7074,7 @@ unknown cipher suites a client says it supports. | |||
7074 | .Op Fl key Ar keyfile | 7074 | .Op Fl key Ar keyfile |
7075 | .Op Fl nbio | 7075 | .Op Fl nbio |
7076 | .Op Fl new | 7076 | .Op Fl new |
7077 | .Op Fl no_shutdown | ||
7077 | .Op Fl reuse | 7078 | .Op Fl reuse |
7078 | .Op Fl time Ar seconds | 7079 | .Op Fl time Ar seconds |
7079 | .Op Fl verify Ar depth | 7080 | .Op Fl verify Ar depth |
@@ -7135,6 +7136,10 @@ nor | |||
7135 | .Fl reuse | 7136 | .Fl reuse |
7136 | are specified, | 7137 | are specified, |
7137 | they are both on by default and executed in sequence. | 7138 | they are both on by default and executed in sequence. |
7139 | .It Fl no_shutdown | ||
7140 | Shutdown the connection without sending a | ||
7141 | .Dq close notify | ||
7142 | shutdown alert to the server. | ||
7138 | .It Fl reuse | 7143 | .It Fl reuse |
7139 | Performs the timing test using the same session ID; | 7144 | Performs the timing test using the same session ID; |
7140 | this can be used as a test that session caching is working. | 7145 | this can be used as a test that session caching is working. |