提交 fed17674 编写于 作者: M Matt Caswell

Change SSL_state_string return strings to start with a T

Due the rest of the state machine changes it makes sense to change the
SSL_state_string return strings from 3* to T*. They are not SSL3 specific
Reviewed-by: NTim Hudson <tjh@openssl.org>
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 141eb8c6
...@@ -217,79 +217,79 @@ const char *SSL_state_string(const SSL *s) ...@@ -217,79 +217,79 @@ const char *SSL_state_string(const SSL *s)
break; break;
case TLS_ST_CW_CLNT_HELLO: case TLS_ST_CW_CLNT_HELLO:
str = "3WCH"; str = "TWCH";
break; break;
case TLS_ST_CR_SRVR_HELLO: case TLS_ST_CR_SRVR_HELLO:
str = "3RSH"; str = "TRSH";
break; break;
case TLS_ST_CR_CERT: case TLS_ST_CR_CERT:
str = "3RSC"; str = "TRSC";
break; break;
case TLS_ST_CR_KEY_EXCH: case TLS_ST_CR_KEY_EXCH:
str = "3RSKE"; str = "TRSKE";
break; break;
case TLS_ST_CR_CERT_REQ: case TLS_ST_CR_CERT_REQ:
str = "3RCR"; str = "TRCR";
break; break;
case TLS_ST_CR_SRVR_DONE: case TLS_ST_CR_SRVR_DONE:
str = "3RSD"; str = "TRSD";
break; break;
case TLS_ST_CW_CERT: case TLS_ST_CW_CERT:
str = "3WCC"; str = "TWCC";
break; break;
case TLS_ST_CW_KEY_EXCH: case TLS_ST_CW_KEY_EXCH:
str = "3WCKE"; str = "TWCKE";
break; break;
case TLS_ST_CW_CERT_VRFY: case TLS_ST_CW_CERT_VRFY:
str = "3WCV"; str = "TWCV";
break; break;
case TLS_ST_SW_CHANGE: case TLS_ST_SW_CHANGE:
case TLS_ST_CW_CHANGE: case TLS_ST_CW_CHANGE:
str = "3WCCS"; str = "TWCCS";
break; break;
case TLS_ST_SW_FINISHED: case TLS_ST_SW_FINISHED:
case TLS_ST_CW_FINISHED: case TLS_ST_CW_FINISHED:
str = "3WFIN"; str = "TWFIN";
break; break;
case TLS_ST_SR_CHANGE: case TLS_ST_SR_CHANGE:
case TLS_ST_CR_CHANGE: case TLS_ST_CR_CHANGE:
str = "3RCCS"; str = "TRCCS";
break; break;
case TLS_ST_SR_FINISHED: case TLS_ST_SR_FINISHED:
case TLS_ST_CR_FINISHED: case TLS_ST_CR_FINISHED:
str = "3RFIN"; str = "TRFIN";
break; break;
case TLS_ST_SW_HELLO_REQ: case TLS_ST_SW_HELLO_REQ:
str = "3WHR"; str = "TWHR";
break; break;
case TLS_ST_SR_CLNT_HELLO: case TLS_ST_SR_CLNT_HELLO:
str = "3RCH"; str = "TRCH";
break; break;
case TLS_ST_SW_SRVR_HELLO: case TLS_ST_SW_SRVR_HELLO:
str = "3WSH"; str = "TWSH";
break; break;
case TLS_ST_SW_CERT: case TLS_ST_SW_CERT:
str = "3WSC"; str = "TWSC";
break; break;
case TLS_ST_SW_KEY_EXCH: case TLS_ST_SW_KEY_EXCH:
str = "3WSKE"; str = "TWSKE";
break; break;
case TLS_ST_SW_CERT_REQ: case TLS_ST_SW_CERT_REQ:
str = "3WCR"; str = "TWCR";
break; break;
case TLS_ST_SW_SRVR_DONE: case TLS_ST_SW_SRVR_DONE:
str = "3WSD"; str = "TWSD";
break; break;
case TLS_ST_SR_CERT: case TLS_ST_SR_CERT:
str = "3RCC"; str = "TRCC";
break; break;
case TLS_ST_SR_KEY_EXCH: case TLS_ST_SR_KEY_EXCH:
str = "3RCKE"; str = "TRCKE";
break; break;
case TLS_ST_SR_CERT_VRFY: case TLS_ST_SR_CERT_VRFY:
str = "3RCV"; str = "TRCV";
break; break;
/* DTLS */ /* DTLS */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册