From: Lutz Jänicke Date: Fri, 18 Oct 2002 09:46:01 +0000 (+0000) Subject: Corrected exchanged parameters in example for EVP_EncryptInit_ex() X-Git-Tag: OpenSSL_0_9_7-beta4~111 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dc74e7d5d7f7e5aa7d74a32767f998b83ed341b8;p=oweals%2Fopenssl.git Corrected exchanged parameters in example for EVP_EncryptInit_ex() Submitted by: "Marcus Carey" Reviewed by: PR: 265 --- diff --git a/doc/crypto/EVP_EncryptInit.pod b/doc/crypto/EVP_EncryptInit.pod index 75cceb1ca2..daf57e5895 100644 --- a/doc/crypto/EVP_EncryptInit.pod +++ b/doc/crypto/EVP_EncryptInit.pod @@ -419,7 +419,7 @@ Encrypt a string using blowfish: EVP_CIPHER_CTX ctx; FILE *out; EVP_CIPHER_CTX_init(&ctx); - EVP_EncryptInit_ex(&ctx, NULL, EVP_bf_cbc(), key, iv); + EVP_EncryptInit_ex(&ctx, EVP_bf_cbc(), NULL, key, iv); if(!EVP_EncryptUpdate(&ctx, outbuf, &outlen, intext, strlen(intext))) {