diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2002-10-18 09:47:14 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2002-10-18 09:47:14 +0000 |
commit | 284b216b3a8afe6cf788190d524ca3f156672fe1 (patch) | |
tree | 619c1ddd64542a5a2f3b72f6dd40b6c3813af8bf /doc | |
parent | 05dbe6ee1f09e32b201b9f4d9ecf0de8c2d73e62 (diff) |
Corrected exchanged parameters in example for EVP_EncryptInit_ex()
Submitted by: "Marcus Carey" <marcus.carey@verizon.net>
Reviewed by:
PR: 265
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/EVP_EncryptInit.pod | 2 |
1 files changed, 1 insertions, 1 deletions
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))) { |