Hello, I am trying to obtain a MIME version of an S/MIME message...I can sign and verify e-mail messages with the libraries provided. However when I don't want to verify and I just want to receive the text with MIME headers, it fails. It works fine when there is a valid certificate, but if I don't have a valid certificate/or don't use a certificate, it returns 0. I just want to view it in NON-S/MIME I am not concerned about the signature, because that works...
Here is the function I am trying to use: cout << PKCS7_verify(pkcs7, NULL, NULL, pkcs7BIO, outBIO, PKCS7_NOVERIFY|PKCS7_NOSIGS|PKCS7_TEXT) <<endl; I get the following errors from ERR: SMIME_text:invalid mime type: pk7_mime.c:348:type: multipart/mixed PKCS7_verify:smime text error:pk7_smime.c:250 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]