summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_cipher.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <[email protected]>2024-10-30 04:03:05 +0900
committergit <[email protected]>2024-12-07 07:55:47 +0000
commit1df63d9451459209c00f5e8db033f18d145cc741 (patch)
treece5974853c7e43ed0d3b47042368fcc0fd267dc8 /ext/openssl/ossl_cipher.c
parentcbe7bfd9a81273c04a40f1ff19f516f8db31ac53 (diff)
[ruby/openssl] Mark variables and functions as static whenever possible
https://github.com/ruby/openssl/commit/85d6b7f192
Diffstat (limited to 'ext/openssl/ossl_cipher.c')
-rw-r--r--ext/openssl/ossl_cipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl_cipher.c b/ext/openssl/ossl_cipher.c
index cc0114f579..5a491d89ed 100644
--- a/ext/openssl/ossl_cipher.c
+++ b/ext/openssl/ossl_cipher.c
@@ -30,8 +30,8 @@
/*
* Classes
*/
-VALUE cCipher;
-VALUE eCipherError;
+static VALUE cCipher;
+static VALUE eCipherError;
static ID id_auth_tag_len, id_key_set;
static VALUE ossl_cipher_alloc(VALUE klass);