<div dir="ltr">It's a mix of C and Go, so it's really not minimal, but I'll try to modify s_server to see if I can reproduce it.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>--<br>Julien Vermillard</div></div></div></div>
<br><div class="gmail_quote">On Mon, Aug 29, 2016 at 6:13 PM, Matt Caswell <span dir="ltr"><<a href="mailto:matt@openssl.org" target="_blank">matt@openssl.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 29/08/16 17:08, Julien Vermillard wrote:<br>
> I have a DTLS 1.2 server based on last master (commit<br>
> d196305aa0de1fc38837c27cb1ea6e<wbr>60af9dd98d)<br>
> I try to add ocsp stapling support (based on code in s_server.c).<br>
><br>
> Basicaly in my callback I set the OCSP response by:<br>
><br>
><br>
>     if (SSL_set_tlsext_status_ocsp_<wbr>resp(s,dataPtr,respLen) == 0) {<br>
>         return SSL_TLSEXT_ERR_NOACK;<br>
>     } else {<br>
>         return SSL_TLSEXT_ERR_OK;<br>
>     }<br>
><br>
> but if my server manage to get an OCSP response it crash with this message:<br>
><br>
> ssl/statem/statem_dtls.c:127: OpenSSL internal error: assertion failed:<br>
> s->init_num == (int)s->d1->w_msg_hdr.msg_len + DTLS1_HM_HEADER_LENGTH<br>
><br>
> Any clue?<br>
<br>
</span>Do you have some minimal reproducer?<br>
<span class="HOEnZb"><font color="#888888"><br>
Matt<br>
<br>
--<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
</font></span></blockquote></div><br></div>