aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanko Marohnić <janko.marohnic@gmail.com>2018-11-10 11:59:31 +0100
committerJanko Marohnić <janko.marohnic@gmail.com>2018-11-10 11:59:31 +0100
commit9aa6c607c6b25022890f3c58adf2b7435002fd0d (patch)
treeffbe84d1a0ba8f3a6eec09586adc835668748faf
parent01b23fa8eee2ff9cc4ef5f6fabca6d999e0979c2 (diff)
downloadruby-openssl-9aa6c607c6b25022890f3c58adf2b7435002fd0d.tar.gz
Fix typo in docs
-rw-r--r--ext/openssl/ossl_cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_cipher.c b/ext/openssl/ossl_cipher.c
index 0840c84a..aa336f35 100644
--- a/ext/openssl/ossl_cipher.c
+++ b/ext/openssl/ossl_cipher.c
@@ -896,7 +896,7 @@ Init_ossl_cipher(void)
* without processing the password further. A simple and secure way to
* create a key for a particular Cipher is
*
- * cipher = OpenSSL::AES256.new(:CFB)
+ * cipher = OpenSSL::Cipher::AES256.new(:CFB)
* cipher.encrypt
* key = cipher.random_key # also sets the generated key on the Cipher
*