summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/openssl/ossl_cipher.c2
-rw-r--r--test/openssl/test_cipher.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl_cipher.c b/ext/openssl/ossl_cipher.c
index 03e89fe420..832cce9953 100644
--- a/ext/openssl/ossl_cipher.c
+++ b/ext/openssl/ossl_cipher.c
@@ -639,7 +639,7 @@ ossl_cipher_is_authenticated(VALUE self)
nid = EVP_CIPHER_CTX_nid(ctx);
if (ossl_is_gcm(nid)) {
- return Qtrue;
+ return Qtrue;
} else {
return Qfalse;
}
diff --git a/test/openssl/test_cipher.rb b/test/openssl/test_cipher.rb
index 64c89be8b1..15cfb7b302 100644
--- a/test/openssl/test_cipher.rb
+++ b/test/openssl/test_cipher.rb
@@ -14,7 +14,7 @@ class OpenSSL::TestCipher < Test::Unit::TestCase
ciphers.include?(name)
end
has_cipher?(name)
- end
+ end
def has_ciphers?(list)
list.all? { |name| has_cipher?(name) }