summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_cipher.c
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-20 09:48:05 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-20 09:48:05 +0000
commitc102821291a31a729a3aa49d3f7be0900b3cb03c (patch)
tree38425054960ef942daa66155b88b733399a4a0ad /ext/openssl/ossl_cipher.c
parent15e7e472e65fd6110a42674f9e4ef73fd1f8bbdc (diff)
* ext/openssl/ossl_cipher.c, ext/openssl/lib/openssl/cipher.rb:
Documentation fix by Ippei Obayashi. See #4419. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_cipher.c')
-rw-r--r--ext/openssl/ossl_cipher.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/openssl/ossl_cipher.c b/ext/openssl/ossl_cipher.c
index f1ab478..c95b2d3 100644
--- a/ext/openssl/ossl_cipher.c
+++ b/ext/openssl/ossl_cipher.c
@@ -444,7 +444,7 @@ ossl_cipher_set_iv(VALUE self, VALUE iv)
/*
* call-seq:
- * cipher.key_length = integer -> integer
+ * cipher.key_len = integer -> integer
*
* Sets the key length of the cipher. If the cipher is a fixed length cipher then attempting to set the key
* length to any value other than the fixed value is an error.
@@ -507,13 +507,13 @@ CIPHER_0ARG_INT(block_size)
#if 0
/*
* call-seq:
- * cipher.key_length -> integer
+ * cipher.key_len -> integer
*
*/
static VALUE ossl_cipher_key_length() { }
/*
* call-seq:
- * cipher.iv_length -> integer
+ * cipher.iv_len -> integer
*
*/
static VALUE ossl_cipher_iv_length() { }