[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Wed Sep 7 20:08:48 UTC 2016
The branch master has been updated
via 252cfef151e302dce598503de09fd3a3341810d7 (commit)
from 342a1a23793cb99921abeabe882adf8652ba715d (commit)
- Log -----------------------------------------------------------------
commit 252cfef151e302dce598503de09fd3a3341810d7
Author: Rich Salz <rsalz at openssl.org>
Date: Wed Sep 7 15:40:16 2016 -0400
Add missing debug strings.
Found by turning -Wswitch-enum on.
Reviewed-by: Richard Levitte <levitte at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
ssl/ssl_stat.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/ssl/ssl_stat.c b/ssl/ssl_stat.c
index cc0d477..014340f 100644
--- a/ssl/ssl_stat.c
+++ b/ssl/ssl_stat.c
@@ -43,6 +43,14 @@ const char *SSL_state_string_long(const SSL *s)
return "error";
switch (SSL_get_state(s)) {
+ case TLS_ST_CR_CERT_STATUS:
+ return "SSLv3/TLS read certificate status";
+ case TLS_ST_CW_NEXT_PROTO:
+ return "SSLv3/TLS write next proto";
+ case TLS_ST_SR_NEXT_PROTO:
+ return "SSLv3/TLS write next proto";
+ case TLS_ST_SW_CERT_STATUS:
+ return "SSLv3/TLS write next proto";
case TLS_ST_BEFORE:
return "before SSL initialization";
case TLS_ST_OK:
@@ -116,6 +124,18 @@ const char *SSL_state_string(const SSL *s)
return "SSLERR";
switch (SSL_get_state(s)) {
+ case TLS_ST_SR_NEXT_PROTO:
+ return "TRNP";
+ case TLS_ST_SW_SESSION_TICKET:
+ return "TWST";
+ case TLS_ST_SW_CERT_STATUS:
+ return "TWCS";
+ case TLS_ST_CR_CERT_STATUS:
+ return "TRCS";
+ case TLS_ST_CR_SESSION_TICKET:
+ return "TRST";
+ case TLS_ST_CW_NEXT_PROTO:
+ return "TWNP";
case TLS_ST_BEFORE:
return "PINIT ";
case TLS_ST_OK:
More information about the openssl-commits
mailing list