Version negotiation rewrite cleanup

Following the version negotiation rewrite all of the previous code that was
dedicated to version negotiation can now be deleted - all six source files
of it!!

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
This commit is contained in:
Matt Caswell
2015-03-31 13:57:46 +01:00
parent 13c9bb3ece
commit a3680c8f9c
17 changed files with 283 additions and 2104 deletions

View File

@@ -302,28 +302,6 @@ const char *SSL_state_string_long(const SSL *s)
break;
#endif
/* SSLv2/v3 compatibility states */
/* client */
case SSL23_ST_CW_CLNT_HELLO_A:
str = "SSLv2/v3 write client hello A";
break;
case SSL23_ST_CW_CLNT_HELLO_B:
str = "SSLv2/v3 write client hello B";
break;
case SSL23_ST_CR_SRVR_HELLO_A:
str = "SSLv2/v3 read server hello A";
break;
case SSL23_ST_CR_SRVR_HELLO_B:
str = "SSLv2/v3 read server hello B";
break;
/* server */
case SSL23_ST_SR_CLNT_HELLO_A:
str = "SSLv2/v3 read client hello A";
break;
case SSL23_ST_SR_CLNT_HELLO_B:
str = "SSLv2/v3 read client hello B";
break;
/* DTLS */
case DTLS1_ST_CR_HELLO_VERIFY_REQUEST_A:
str = "DTLS1 read hello verify request A";
@@ -535,28 +513,6 @@ const char *SSL_state_string(const SSL *s)
break;
#endif
/* SSLv2/v3 compatibility states */
/* client */
case SSL23_ST_CW_CLNT_HELLO_A:
str = "23WCHA";
break;
case SSL23_ST_CW_CLNT_HELLO_B:
str = "23WCHB";
break;
case SSL23_ST_CR_SRVR_HELLO_A:
str = "23RSHA";
break;
case SSL23_ST_CR_SRVR_HELLO_B:
str = "23RSHA";
break;
/* server */
case SSL23_ST_SR_CLNT_HELLO_A:
str = "23RCHA";
break;
case SSL23_ST_SR_CLNT_HELLO_B:
str = "23RCHB";
break;
/* DTLS */
case DTLS1_ST_CR_HELLO_VERIFY_REQUEST_A:
str = "DRCHVA";