On Sun, Jul 19, 2015, The Doctor wrote:

> On Sun, Jul 19, 2015 at 06:05:26AM -0600, The Doctor wrote:
> > What should I be looking at when
> > 
> > signed content test streaming S/MIME format, 2 DSA and 2 RSA keys: verify 
> > error
> > 
> > occurs?
> >
> 
> Further from the code
> 
>             i = X509_verify_cert(&cert_ctx);
>             if (i <= 0)
>                 j = X509_STORE_CTX_get_error(&cert_ctx);
>             X509_STORE_CTX_cleanup(&cert_ctx);
>             if (i <= 0) {
>                 PKCS7err(PKCS7_F_PKCS7_VERIFY,
>                          PKCS7_R_CERTIFICATE_VERIFY_ERROR);
>                 ERR_add_error_data(2, "Verify error:",
>                                    X509_verify_cert_error_string(j));
>                 sk_X509_free(signers);
>                 return 0;
>             } 
> 
> I wonder what could cause such an error?
>  

There should be two files cms.out and cms.err in the test directory if a CMS
test fails. What is in them?

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to