Fix missing dane_tlsa_rrdata option error message
authorViktor Dukhovni <openssl-users@dukhovni.org>
Thu, 18 Aug 2016 20:57:55 +0000 (16:57 -0400)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Thu, 18 Aug 2016 21:04:45 +0000 (17:04 -0400)
The error message said "dane_tlsa_rrset" instead of "dane_tlsa_rrdata".

Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/s_client.c

index c721dfd57e2a26ab8228d5d354875bb45c9404f8..d8c66dce0ebbdd17070cba02a945e67ea1bc148f 100644 (file)
@@ -1693,7 +1693,7 @@ int s_client_main(int argc, char **argv)
         }
         if (dane_tlsa_rrset == NULL) {
             BIO_printf(bio_err, "%s: DANE TLSA authentication requires at "
-                       "least one -dane_tlsa_rrset option.\n", prog);
+                       "least one -dane_tlsa_rrdata option.\n", prog);
             goto end;
         }
         if (tlsa_import_rrset(con, dane_tlsa_rrset) <= 0) {