From: Bodo Möller Date: Wed, 19 Sep 2007 01:43:59 +0000 (+0000) Subject: fix warning X-Git-Tag: OpenSSL_0_9_8k^2~687 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=08111768a2d8d834d3b24da7d2bd6bc0ee9c4805;p=oweals%2Fopenssl.git fix warning --- diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c index b6e8dbcdd9..d299ba618f 100644 --- a/ssl/d1_srvr.c +++ b/ssl/d1_srvr.c @@ -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 */