summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-07-16 20:35:42 +1000
committerPauli <paul.dale@oracle.com>2019-07-16 20:35:42 +1000
commit4bd8b24045e1b044a2696b0675a9120ac0384567 (patch)
tree8bbce07e745ecc9cf6f6ecf1b8e5815c290b5ee8 /apps
parentdd6b270618b8f43009999e45ad6dd03ca50bbe54 (diff)
remove end of line spaces
Reviewed-by: Paul Yang <yang.yang@baishancloud.com> (Merged from https://github.com/openssl/openssl/pull/9397)
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index a9a6552706..016df7c657 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -2017,7 +2017,7 @@ int s_client_main(int argc, char **argv)
if (!noservername && (servername != NULL || dane_tlsa_domain == NULL)) {
if (servername == NULL) {
- if(host == NULL || is_dNS_name(host))
+ if(host == NULL || is_dNS_name(host))
servername = (host == NULL) ? "localhost" : host;
}
if (servername != NULL && !SSL_set_tlsext_host_name(con, servername)) {
@@ -3552,7 +3552,7 @@ static char *base64encode (const void *buf, size_t len)
}
/*
- * Host dNS Name verifier: used for checking that the hostname is in dNS format
+ * Host dNS Name verifier: used for checking that the hostname is in dNS format
* before setting it as SNI
*/
static int is_dNS_name(const char *host)