----- Forwarded message from NortonNg <[EMAIL PROTECTED]> ----- From: NortonNg <[EMAIL PROTECTED]> Subject: crypto/pkcs7/dec.c problem..!! To: [EMAIL PROTECTED] Date: Wed, 14 Jul 1999 22:38:34 +0800 (CST) Anyone have deal with the openssl0.9.3a crypto/pkcs7/dec.c code? I have compiled it. I use enc.c to encrypt a file, but i can't decrypt it with dec.c ? I seem that dec.c will block at if((pkey=PEM_read_bio_PrivateKey(in,NULL,NULL)) == NULL) goto err; Another bug is that the pp pointer will always be NULL ! it must set to pp = argv[0] after " ..BIO_read_filename(data,argv[0])" line. Anyone can help me to solve this problem.? I am trying to use openssl to encrypt messages to S/MIME format, Anyone can show me some codes about it?? jkng. ----- End forwarded message ----- ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]