diff options
author | Martin Olsson <martin@minimum.se> | 2014-08-19 11:38:54 -0400 |
---|---|---|
committer | Rich Salz <rsalz@akamai.com> | 2014-08-19 12:47:02 -0400 |
commit | 89fb142b49e100ec35edcfee81ddee59ba2fb149 (patch) | |
tree | ec3d7d893547f5424b921845490321119a40469d | |
parent | 96208cb1821f92dd6e94c3aa2882bc9cc47904f9 (diff) |
RT2847: Don't "check" uninitialized memory
Don't check err variable until after it's been set.
Reviewed-by: Emilia Kasper <emilia@openssl.org>
-rw-r--r-- | demos/ssl/cli.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/demos/ssl/cli.cpp b/demos/ssl/cli.cpp index 49cba5da0c..5b4406d16f 100644 --- a/demos/ssl/cli.cpp +++ b/demos/ssl/cli.cpp @@ -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. */ |