GH issue 572: Error in help message
authorRich Salz <rsalz@openssl.org>
Wed, 20 Jan 2016 23:52:18 +0000 (18:52 -0500)
committerRich Salz <rsalz@openssl.org>
Wed, 20 Jan 2016 23:52:18 +0000 (18:52 -0500)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
apps/s_client.c
apps/s_server.c

index f80711fd5e58954b4feda78fd7882bd2e5ed61a3..caf76d35dc5accd6067315aef53b107d400ac7d1 100644 (file)
@@ -308,7 +308,7 @@ static void sc_usage(void)
                " -connect host:port - who to connect to (default is %s:%s)\n",
                SSL_HOST_NAME, PORT_STR);
     BIO_printf(bio_err,
-               " -verify_host host - check peer certificate matches \"host\"\n");
+               " -verify_hostname host - check peer certificate matches \"host\"\n");
     BIO_printf(bio_err,
                " -verify_email email - check peer certificate matches \"email\"\n");
     BIO_printf(bio_err,
index f19532b75fabd172c5eabc85167674183a66da50..65cbaaf6eb9b2ed34ea610bcd8b10ab6051bacba 100644 (file)
@@ -498,7 +498,7 @@ static void sv_usage(void)
     BIO_printf(bio_err,
                " -accept arg   - port to accept on (default is %d)\n", PORT);
     BIO_printf(bio_err,
-               " -verify_host host - check peer certificate matches \"host\"\n");
+               " -verify_hostname host - check peer certificate matches \"host\"\n");
     BIO_printf(bio_err,
                " -verify_email email - check peer certificate matches \"email\"\n");
     BIO_printf(bio_err,