summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorXiaoyin Liu <xiaoyinl@users.noreply.github.com>2017-07-31 08:55:37 -0400
committerRich Salz <rsalz@openssl.org>2017-07-31 09:08:29 -0400
commite118487fee21ebdd959fe514be6b5c121462e272 (patch)
tree7700274e063823940aec55510afd2677cf2ddf90 /ssl
parente29ae5b356f40f7410d367b25d4e65e0dde0aeef (diff)
Fix errors in SSL_state_string_long
TLS_ST_SR_NEXT_PROTO means "SSLv3/TLS read next proto" Fix typo in the message for TLS_ST_SW_CERT_STATUS Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4054) (cherry picked from commit f978f2b8af576ed1d9409de440b5c1f97ac0e7ab)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl_stat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/ssl_stat.c b/ssl/ssl_stat.c
index 014340f28b..ad7a019b25 100644
--- a/ssl/ssl_stat.c
+++ b/ssl/ssl_stat.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -48,9 +48,9 @@ const char *SSL_state_string_long(const SSL *s)
case TLS_ST_CW_NEXT_PROTO:
return "SSLv3/TLS write next proto";
case TLS_ST_SR_NEXT_PROTO:
- return "SSLv3/TLS write next proto";
+ return "SSLv3/TLS read next proto";
case TLS_ST_SW_CERT_STATUS:
- return "SSLv3/TLS write next proto";
+ return "SSLv3/TLS write certificate status";
case TLS_ST_BEFORE:
return "before SSL initialization";
case TLS_ST_OK: