On Mon, Jul 19, 2004, Joe smith wrote: > My fault Dr. Henson. The segmentation fault exists in the statement: > err = EVP_PBE_CipherInit (alg->algorithm, passwd, strlen(passwd), > alg->parameter, &ctx, 1); > > Once again the code is a shortened version of the actual encrypt/decrypt > code. >
Try calling EVP_CIPHER_CTX_init(&ctx) before that call. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]