Title: Question regarding an error

Hi there,

Can anybody tell me what the following error means?

error:00000005:lib(0):func(0):DH lib

It seems to happen when I do an SSL_read().

I've downloaded and built openssl-0.9.7d on Windows.  I'm using OpenSSL on my server.  The client does not use OpenSSL.  It uses WinINET API's to handle the SSL handshake.

As far as I can tell, the SSL_accept() call was successful.  The client was also able to receive the certificate that I generated using OpenSSL, and it popped up the dialog box that warns that it is from an untrusted Certificate Authority, as expected.  I select "Yes" to continue.  But even before that, on the server side, the call to SSL_read() fails with the error above.  Can anybody tell me what it means?

BTW, I've set the SSL_MODE_AUTO_RETRY mode on the SSL_CTX used to create the SSL object passed to SSL_read().

I've also called SSL_CTX_set_tmp_dh_callback() to setup the DH callback.  But it doesn't get called.

Thanks,
Ed

Reply via email to