Skip to content

Commit 18ec883

Browse files
authored
Merge pull request #231 from janko-m/doc-typo
Fix typo in docs
2 parents 01b23fa + 9aa6c60 commit 18ec883

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)