OpenSSL ssl_accept() error 5

前端 未结 2 1373
没有蜡笔的小新
没有蜡笔的小新 2020-12-06 20:12

I have scoured Stack Overflow and the internet, but I have been unable to locate an answer to why ssl_accept() keeps returning:

[DEBUG] SSL_accept() : Failed         


        
2条回答
  •  情深已故
    2020-12-06 20:39

    This is not a Diffie-Hellman library issue.
    The reason you are getting the

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

    is that you passed in the SSL_get_error() error code to ERR_error_string() which you should not do.

    ERR_error_string() is only used on error codes from ERR_get_error().
    See the help page for SSL_get_error() to know what the error means.

提交回复
热议问题