|
@@ -317,10 +317,6 @@ again: |
|
|
|
|
|
|
|
|
if (s->s3->have_version && version != s->version) { |
|
|
if (s->s3->have_version && version != s->version) { |
|
|
OPENSSL_PUT_ERROR(SSL, ssl3_get_record, SSL_R_WRONG_VERSION_NUMBER); |
|
|
OPENSSL_PUT_ERROR(SSL, ssl3_get_record, SSL_R_WRONG_VERSION_NUMBER); |
|
|
if ((s->version & 0xFF00) == (version & 0xFF00)) { |
|
|
|
|
|
/* Send back error using their minor version number. */ |
|
|
|
|
|
s->version = (unsigned short)version; |
|
|
|
|
|
} |
|
|
|
|
|
al = SSL_AD_PROTOCOL_VERSION; |
|
|
al = SSL_AD_PROTOCOL_VERSION; |
|
|
goto f_err; |
|
|
goto f_err; |
|
|
} |
|
|
} |
|
|