diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-20 09:48:05 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-20 09:48:05 +0000 |
commit | c102821291a31a729a3aa49d3f7be0900b3cb03c (patch) | |
tree | 38425054960ef942daa66155b88b733399a4a0ad /ext | |
parent | 15e7e472e65fd6110a42674f9e4ef73fd1f8bbdc (diff) | |
download | ruby-c102821291a31a729a3aa49d3f7be0900b3cb03c.tar.gz |
* 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')
-rw-r--r-- | ext/openssl/lib/openssl/cipher.rb | 2 | ||||
-rw-r--r-- | ext/openssl/ossl_cipher.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/openssl/lib/openssl/cipher.rb b/ext/openssl/lib/openssl/cipher.rb index 14362ea86f..d9aac755cd 100644 --- a/ext/openssl/lib/openssl/cipher.rb +++ b/ext/openssl/lib/openssl/cipher.rb @@ -53,7 +53,7 @@ module OpenSSL return str end - # This class is only provided for backwards compatibility. Use OpenSSL::Digest in the future. + # This class is only provided for backwards compatibility. Use OpenSSL::Cipher in the future. class Cipher < Cipher # add warning end diff --git a/ext/openssl/ossl_cipher.c b/ext/openssl/ossl_cipher.c index f1ab47816c..c95b2d3444 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() { } |