From fe8822ad49b02b9c815b21c2bacb4a2c2f74bcae Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Mon, 4 May 2015 19:16:01 -0700 Subject: Apply ruby/ruby@038c0e5a804f1736e884f6741b9d7e84606580d7 to remove warnings See also r50346 from ruby/ruby#875 --- ext/openssl/ossl_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl/ossl_ssl.c') diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index 1a67d35d..7420c100 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -1124,7 +1124,7 @@ ossl_ssl_shutdown(SSL *ssl) * Ignore the case SSL_shutdown returns -1. Empty handshake_func * must not happen. */ - if (rc = SSL_shutdown(ssl)) + if ((rc = SSL_shutdown(ssl)) != 0) break; } SSL_clear(ssl); -- cgit v1.2.3