View | Details | Raw Unified | Return to bug 223388
Collapse All | Expand All

(-)ssl/s23_clnt.c (+2 lines)
Lines 757-766 static int ssl23_get_server_hello(SSL *s) Link Here
757
                s->version = TLS1_VERSION;
757
                s->version = TLS1_VERSION;
758
                s->method = TLSv1_client_method();
758
                s->method = TLSv1_client_method();
759
                break;
759
                break;
760
#ifndef OPENSSL_NO_SSL3
760
            case SSL3_VERSION:
761
            case SSL3_VERSION:
761
                s->version = SSL3_VERSION;
762
                s->version = SSL3_VERSION;
762
                s->method = SSLv3_client_method();
763
                s->method = SSLv3_client_method();
763
                break;
764
                break;
765
#endif
764
            }
766
            }
765
            SSLerr(SSL_F_SSL23_GET_SERVER_HELLO, SSL_R_UNSUPPORTED_PROTOCOL);
767
            SSLerr(SSL_F_SSL23_GET_SERVER_HELLO, SSL_R_UNSUPPORTED_PROTOCOL);
766
            ssl3_send_alert(s, SSL3_AL_FATAL, SSL_AD_PROTOCOL_VERSION);
768
            ssl3_send_alert(s, SSL3_AL_FATAL, SSL_AD_PROTOCOL_VERSION);

Return to bug 223388