Comments for SSL_get_peer_cert_chain inconsistency.
[openssl.git] / ssl / s23_srvr.c
index 33634efdcb3537e9187ddde05af80563d70e5a7a..6a3bbb10b953a16b1a899a6c14d66a5356107d37 100644 (file)
@@ -206,8 +206,11 @@ int ssl23_get_client_hello(SSL *s)
        unsigned int i;
        unsigned int csl,sil,cl;
        int n=0,j;
-       int type=0,use_sslv2_strong=0;
+       int type=0;
        int v[2];
+#ifndef NO_RSA
+       int use_sslv2_strong=0;
+#endif
 
        if (s->state == SSL23_ST_SR_CLNT_HELLO_A)
                {
@@ -389,7 +392,6 @@ int ssl23_get_client_hello(SSL *s)
                        }
                }
 
-next_bit:
        if (s->state == SSL23_ST_SR_CLNT_HELLO_B)
                {
                /* we have SSLv3/TLSv1 in an SSLv2 header