Frank Büttner wrote:
Hello, when I call EVP_CIPHER_CTX_init() in my application it crash.
Must I call anything before?
Thanks,
Frank
All you have to do is to declare an EVP_CIPHER_CTX.
See the example code.
EVP_CIPHER_CTX ctx;
EVP_CIPHER_CTX_init(&ctx);
EVP_EncryptInit_ex(&ctx, EVP_bf_cbc(), NULL, key, iv);
See the manual page for more information.
http://developer.apple.com/documentation/Darwin/Reference/Manpages/man3/EVP_EncryptInit_ex.3ssl.html
Or else try to attach Ur code. We might be able to check it.
-Cheers,
Kau
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]