[openssl-dev] [openssl.org #3657] OpenSSL 1.0.1k DTLS handshake no longer works

Matt Caswell via RT rt at openssl.org
Thu Jan 15 09:25:22 UTC 2015


Please could you try making the following call:

SSL_CTX_set_read_ahead(ctx, 1);

Insert it immediately after these lines in your test code:
pSslContext = SSL_CTX_new(DTLSv1_server_method()); assert(pSslContext != NULL);
assert(SSL_CTX_use_certificate(pSslContext, pX509) == 1);
assert(SSL_CTX_use_PrivateKey(pSslContext, pX509Key) == 1);
assert(SSL_CTX_check_private_key(pSslContext) == 1);
Thanks

Matt



More information about the openssl-dev mailing list