Clean up some of the SSL server code.
[openssl.git] / ssl / s3_srvr.c
index 85b0f5e9ef5fb54592abc5feea367a20bc27f12a..5ba3a28e63e1ea80ff371885495dc894e02dbcd1 100644 (file)
@@ -503,7 +503,7 @@ static int ssl3_send_hello_request(SSL *s)
        if (s->state == SSL3_ST_SW_HELLO_REQ_A)
                {
                p=(unsigned char *)s->init_buf->data;
-               *(p++)=SSL3_MT_CLIENT_REQUEST;
+               *(p++)=SSL3_MT_HELLO_REQUEST;
                *(p++)=0;
                *(p++)=0;
                *(p++)=0;