Don't check err variable until after it's been set.
Reviewed-by: Emilia Kasper <emilia@openssl.org>
SSL_load_error_strings();
ctx = SSL_CTX_new (meth); CHK_NULL(ctx);
SSL_load_error_strings();
ctx = SSL_CTX_new (meth); CHK_NULL(ctx);
/* ----------------------------------------------- */
/* Create a socket and connect to server using normal socket calls. */
/* ----------------------------------------------- */
/* Create a socket and connect to server using normal socket calls. */