From dff42b0ea0e6ef368ebbe0a666ff9be8d708c6df Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 9 Dec 2015 01:01:17 +0000 Subject: * ext/**/*.c (*_memsize): same as r52986 for extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_cipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl') diff --git a/ext/openssl/ossl_cipher.c b/ext/openssl/ossl_cipher.c index 1318378c26..09b021d987 100644 --- a/ext/openssl/ossl_cipher.c +++ b/ext/openssl/ossl_cipher.c @@ -91,7 +91,7 @@ static size_t ossl_cipher_memsize(const void *ptr) { const EVP_CIPHER_CTX *ctx = ptr; - return ctx ? sizeof(*ctx) : 0; + return sizeof(*ctx); } static VALUE -- cgit v1.2.3