Skip to content
Commit 9e1d5e8d authored by Paul Yang's avatar Paul Yang Committed by Bernd Edlinger
Browse files

Fix return value checking for BIO_sock_init



BIO_sock_init returns '-1' on error, not '0', so it's needed to check
explicitly istead of using '!'.

Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
Reviewed-by: default avatarBernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/3766)
parent e8e55976
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment