aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Rybas <vladimirrybas@gmail.com>2017-04-21 17:52:30 +0700
committerKazuki Yamaguchi <k@rhe.jp>2017-04-21 20:28:32 +0900
commite3929aa5481b2d5bedfdfef75865b2ea49938852 (patch)
treedbce4cb34ee79c2f4a9c337f04f1f70d24958882
parent7eb1a3fa86312a1783f06374ee50b38ae97a5a71 (diff)
downloadruby-openssl-e3929aa5481b2d5bedfdfef75865b2ea49938852.tar.gz
Fix documentation for OpenSSL::Cipher#final
"after after having fed the entire plaintext..." is changed to "after having fed the entire plaintext..."
-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 885b8e0a..c2f0927a 100644
--- a/ext/openssl/ossl_cipher.c
+++ b/ext/openssl/ossl_cipher.c
@@ -418,7 +418,7 @@ ossl_cipher_update(int argc, VALUE *argv, VALUE self)
* Returns the remaining data held in the cipher object. Further calls to
* Cipher#update or Cipher#final will return garbage. This call should always
* be made as the last call of an encryption or decryption operation, after
- * after having fed the entire plaintext or ciphertext to the Cipher instance.
+ * having fed the entire plaintext or ciphertext to the Cipher instance.
*
* If an authenticated cipher was used, a CipherError is raised if the tag
* could not be authenticated successfully. Only call this method after