[openssl-users] PKCS7_sign conflict with PKCS7_decrypt?

Dr. Stephen Henson steve at openssl.org
Tue Jul 26 16:06:53 UTC 2016

On Tue, Jul 26, 2016, Jim Carroll wrote:

> Steve -- thanks, but I don't think I was clear enough. 
> I am trying to get back the signed content, but when I call PKCS7_decrpyt()
> I get back an empty buffer.  Is this my flawed understanding of
> PKCS7_sign().  Is there some other way to get back the original signed
> content that I'm missing?

That is the overlapping buffers bug (ticket 4628). I suggest you try pre5
instead of the current master or wait for this bug to be fixed 

Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org

More information about the openssl-users mailing list