projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70f34a5
)
fix example in docu
author
Nils Larsch
<nils@openssl.org>
Tue, 5 Apr 2005 11:17:03 +0000
(11:17 +0000)
committer
Nils Larsch
<nils@openssl.org>
Tue, 5 Apr 2005 11:17:03 +0000
(11:17 +0000)
PR: 800
doc/crypto/EVP_EncryptInit.pod
patch
|
blob
|
history
diff --git
a/doc/crypto/EVP_EncryptInit.pod
b/doc/crypto/EVP_EncryptInit.pod
index daf57e5895f1cdb4ed3e0dc15798f697ac995095..40e525dd56ea5bb5e4383cf959aced3b57785ab1 100644
(file)
--- a/
doc/crypto/EVP_EncryptInit.pod
+++ b/
doc/crypto/EVP_EncryptInit.pod
@@
-479,6
+479,7
@@
General encryption, decryption function example using FILE I/O and RC2 with an
if(!EVP_CipherUpdate(&ctx, outbuf, &outlen, inbuf, inlen))
{
/* Error */
+ EVP_CIPHER_CTX_cleanup(&ctx);
return 0;
}
fwrite(outbuf, 1, outlen, out);
@@
-486,6
+487,7
@@
General encryption, decryption function example using FILE I/O and RC2 with an
if(!EVP_CipherFinal_ex(&ctx, outbuf, &outlen))
{
/* Error */
+ EVP_CIPHER_CTX_cleanup(&ctx);
return 0;
}
fwrite(outbuf, 1, outlen, out);