fix warning
authorBodo Möller <bodo@openssl.org>
Wed, 19 Sep 2007 01:43:59 +0000 (01:43 +0000)
committerBodo Möller <bodo@openssl.org>
Wed, 19 Sep 2007 01:43:59 +0000 (01:43 +0000)
ssl/d1_srvr.c

index b6e8dbcdd96f875317c0511a925194a73095a3e0..d299ba618fea23ed3e9c326abf79be36f484188b 100644 (file)
@@ -1090,7 +1090,7 @@ int dtls1_send_certificate_request(SSL *s)
 
                /* XDTLS:  set message header ? */
                msg_len = s->init_num - DTLS1_HM_HEADER_LENGTH;
-               dtls1_set_message_header(s, s->init_buf->data,
+               dtls1_set_message_header(s, (void *)s->init_buf->data,
                        SSL3_MT_CERTIFICATE_REQUEST, msg_len, 0, msg_len);
 
                /* buffer the message to handle re-xmits */