hallo, I have problem with verify sign of mime message. Verifing of the first message is always success, but each next faild.
BUF_MEM pkcs7BufMem; pkcs7BufMem.data = (char*)pbPKCS7; pkcs7BufMem.length = cbPKCS7; pkcs7BufMem.max = cbPKCS7; BIO* bioPKCS7Sign = BIO_new(BIO_s_mem()); BIO_set_mem_buf(bioPKCS7Sign, &pkcs7BufMem, BIO_NOCLOSE); PKCS7 *p7 = NULL; p7 = d2i_PKCS7_bio(bioPKCS7Sign, NULL); if (!p7) { BIO_free(bioPKCS7Sign); return FALSE; } ... p7 = d2i_PKCS7_bio(bioPKCS7Sign, NULL); - this command return from secondtime NULL. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]