Remove some dead state constants.
Change-Id: If97da565155292d5f0de5c6a8b0fd8508398768a Reviewed-on: https://boringssl-review.googlesource.com/13564 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
59bae5aa3a
commit
dc8c1d962e
@ -345,9 +345,6 @@ OPENSSL_COMPILE_ASSERT(
|
|||||||
#define SSL3_ST_SR_CLNT_HELLO_C (0x112 | SSL_ST_ACCEPT)
|
#define SSL3_ST_SR_CLNT_HELLO_C (0x112 | SSL_ST_ACCEPT)
|
||||||
#define SSL3_ST_SR_CLNT_HELLO_D (0x113 | SSL_ST_ACCEPT)
|
#define SSL3_ST_SR_CLNT_HELLO_D (0x113 | SSL_ST_ACCEPT)
|
||||||
/* write to client */
|
/* write to client */
|
||||||
#define SSL3_ST_SW_HELLO_REQ_A (0x120 | SSL_ST_ACCEPT)
|
|
||||||
#define SSL3_ST_SW_HELLO_REQ_B (0x121 | SSL_ST_ACCEPT)
|
|
||||||
#define SSL3_ST_SW_HELLO_REQ_C (0x122 | SSL_ST_ACCEPT)
|
|
||||||
#define SSL3_ST_SW_SRVR_HELLO_A (0x130 | SSL_ST_ACCEPT)
|
#define SSL3_ST_SW_SRVR_HELLO_A (0x130 | SSL_ST_ACCEPT)
|
||||||
#define SSL3_ST_SW_CERT_A (0x140 | SSL_ST_ACCEPT)
|
#define SSL3_ST_SW_CERT_A (0x140 | SSL_ST_ACCEPT)
|
||||||
#define SSL3_ST_SW_KEY_EXCH_A (0x150 | SSL_ST_ACCEPT)
|
#define SSL3_ST_SW_KEY_EXCH_A (0x150 | SSL_ST_ACCEPT)
|
||||||
|
@ -163,15 +163,6 @@ const char *SSL_state_string_long(const SSL *ssl) {
|
|||||||
case SSL3_ST_SR_CLNT_HELLO_C:
|
case SSL3_ST_SR_CLNT_HELLO_C:
|
||||||
return "SSLv3 read client hello C";
|
return "SSLv3 read client hello C";
|
||||||
|
|
||||||
case SSL3_ST_SW_HELLO_REQ_A:
|
|
||||||
return "SSLv3 write hello request A";
|
|
||||||
|
|
||||||
case SSL3_ST_SW_HELLO_REQ_B:
|
|
||||||
return "SSLv3 write hello request B";
|
|
||||||
|
|
||||||
case SSL3_ST_SW_HELLO_REQ_C:
|
|
||||||
return "SSLv3 write hello request C";
|
|
||||||
|
|
||||||
case SSL3_ST_SW_SRVR_HELLO_A:
|
case SSL3_ST_SW_SRVR_HELLO_A:
|
||||||
return "SSLv3 write server hello A";
|
return "SSLv3 write server hello A";
|
||||||
|
|
||||||
@ -273,15 +264,6 @@ const char *SSL_state_string(const SSL *ssl) {
|
|||||||
case SSL3_ST_CR_FINISHED_A:
|
case SSL3_ST_CR_FINISHED_A:
|
||||||
return "3RFINA";
|
return "3RFINA";
|
||||||
|
|
||||||
case SSL3_ST_SW_HELLO_REQ_A:
|
|
||||||
return "3WHR_A";
|
|
||||||
|
|
||||||
case SSL3_ST_SW_HELLO_REQ_B:
|
|
||||||
return "3WHR_B";
|
|
||||||
|
|
||||||
case SSL3_ST_SW_HELLO_REQ_C:
|
|
||||||
return "3WHR_C";
|
|
||||||
|
|
||||||
case SSL3_ST_SR_CLNT_HELLO_A:
|
case SSL3_ST_SR_CLNT_HELLO_A:
|
||||||
return "3RCH_A";
|
return "3RCH_A";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user