On Sep 21, 2011, at 9:40 PM, Huaqing Wang wrote: > Hi, > > I don't know if any other person met this issue. > I use openssl1.0.0e, and working on dtls, in client side, if I set > SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_QUERY_MTU); > SSL_set_mtu(ss_ssl, 1500); > I met a segmentation fault on the client side, using gdb I saw the error > happens in: > > memcpy() > dtls_do_write() > dtls_connect() > .... > > And if I remove SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_QUERY_MTU); > SSL_set_mtu(ssl, 1500); > > It worked well. > > For the same program if I run in Openssl 0.9.8e, it worked well with set > SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_QUERY_MTU); > SSL_set_mtu(ss_ssl, 1500); > > So I am thinking this may be a bug in Openssl 1.0.0e. I think you are hitting a bug for which a fix has already been submitted by Robin to the request tracker. See http://rt.openssl.org/Ticket/Display.html?id=2602
Please let us know if this fixes your issue. Best regards Michael > > -- > Thank you. > Best Regards, > Huaqing Wang > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org