diff options
Diffstat (limited to 'src/lib/libcrypto/doc/EVP_EncryptInit.pod')
-rw-r--r-- | src/lib/libcrypto/doc/EVP_EncryptInit.pod | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/libcrypto/doc/EVP_EncryptInit.pod b/src/lib/libcrypto/doc/EVP_EncryptInit.pod index 40e525dd56..daf57e5895 100644 --- a/src/lib/libcrypto/doc/EVP_EncryptInit.pod +++ b/src/lib/libcrypto/doc/EVP_EncryptInit.pod | |||
@@ -479,7 +479,6 @@ General encryption, decryption function example using FILE I/O and RC2 with an | |||
479 | if(!EVP_CipherUpdate(&ctx, outbuf, &outlen, inbuf, inlen)) | 479 | if(!EVP_CipherUpdate(&ctx, outbuf, &outlen, inbuf, inlen)) |
480 | { | 480 | { |
481 | /* Error */ | 481 | /* Error */ |
482 | EVP_CIPHER_CTX_cleanup(&ctx); | ||
483 | return 0; | 482 | return 0; |
484 | } | 483 | } |
485 | fwrite(outbuf, 1, outlen, out); | 484 | fwrite(outbuf, 1, outlen, out); |
@@ -487,7 +486,6 @@ General encryption, decryption function example using FILE I/O and RC2 with an | |||
487 | if(!EVP_CipherFinal_ex(&ctx, outbuf, &outlen)) | 486 | if(!EVP_CipherFinal_ex(&ctx, outbuf, &outlen)) |
488 | { | 487 | { |
489 | /* Error */ | 488 | /* Error */ |
490 | EVP_CIPHER_CTX_cleanup(&ctx); | ||
491 | return 0; | 489 | return 0; |
492 | } | 490 | } |
493 | fwrite(outbuf, 1, outlen, out); | 491 | fwrite(outbuf, 1, outlen, out); |