aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-08-31 14:32:51 +0100
committerMatt Caswell <matt@openssl.org>2017-08-31 15:03:35 +0100
commit0ef2802165706016698d6984dfcb2980881f18e5 (patch)
treee8e2a68cbe3484327102bc551cd17728ff36dfb0 /apps
parent57dee9bb684268aa434a2bfe7ff4743a14a62ff0 (diff)
downloadopenssl-0ef2802165706016698d6984dfcb2980881f18e5.tar.gz
Various review fixes for PSK early_data support
Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/3926)
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index 975aa2fb44..4d2fa861a5 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -1889,8 +1889,7 @@ int s_client_main(int argc, char **argv)
goto end;
}
/* By default the SNI should be the same as was set in the session */
- if (!noservername && servername == NULL)
- {
+ if (!noservername && servername == NULL) {
const char *sni = SSL_SESSION_get0_hostname(sess);
if (sni != NULL) {