fix warning

This commit is contained in:
Bodo Möller 2007-09-19 01:43:59 +00:00
parent 1b827d7b6f
commit 08111768a2

View 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 */