mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
RT2847: Don't "check" uninitialized memory
Don't check err variable until after it's been set. Reviewed-by: Emilia Kasper <emilia@openssl.org>
This commit is contained in:
parent
96208cb182
commit
89fb142b49
@ -42,8 +42,6 @@ void main ()
|
||||
SSL_load_error_strings();
|
||||
ctx = SSL_CTX_new (meth); CHK_NULL(ctx);
|
||||
|
||||
CHK_SSL(err);
|
||||
|
||||
/* ----------------------------------------------- */
|
||||
/* Create a socket and connect to server using normal socket calls. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user