Skip to content

Commit 9aa6c60

Browse files
committed
Fix typo in docs
1 parent 01b23fa commit 9aa6c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/ossl_cipher.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ Init_ossl_cipher(void)
896896
* without processing the password further. A simple and secure way to
897897
* create a key for a particular Cipher is
898898
*
899-
* cipher = OpenSSL::AES256.new(:CFB)
899+
* cipher = OpenSSL::Cipher::AES256.new(:CFB)
900900
* cipher.encrypt
901901
* key = cipher.random_key # also sets the generated key on the Cipher
902902
*

0 commit comments

Comments
 (0)