提交 89fb142b 编写于 作者: M Martin Olsson 提交者: Rich Salz

RT2847: Don't "check" uninitialized memory

Don't check err variable until after it's been set.
Reviewed-by: NEmilia Kasper <emilia@openssl.org>
上级 96208cb1
...@@ -42,8 +42,6 @@ void main () ...@@ -42,8 +42,6 @@ void main ()
SSL_load_error_strings(); SSL_load_error_strings();
ctx = SSL_CTX_new (meth); CHK_NULL(ctx); ctx = SSL_CTX_new (meth); CHK_NULL(ctx);
CHK_SSL(err);
/* ----------------------------------------------- */ /* ----------------------------------------------- */
/* Create a socket and connect to server using normal socket calls. */ /* Create a socket and connect to server using normal socket calls. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册