Re: PKCS7_verify() with zero length input

2006-04-13 Thread Brad Hards
On Thursday 13 April 2006 22:26 pm, Dr. Stephen Henson wrote: > On Thu, Apr 13, 2006, Brad Hards wrote: > > I'm trying to do detached CMS signatures and verification using the > > PKCS7_sign() and PKCS7_verify() functions. It appears to work OK, except > > that my test case for a zero length array

Re: PKCS7_verify() with zero length input

2006-04-13 Thread Dr. Stephen Henson
On Thu, Apr 13, 2006, Brad Hards wrote: > I'm trying to do detached CMS signatures and verification using the > PKCS7_sign() and PKCS7_verify() functions. It appears to work OK, except that > my test case for a zero length array fails to verify() - looks like the > signature is OK though. > >

PKCS7_verify() with zero length input

2006-04-13 Thread Brad Hards
I'm trying to do detached CMS signatures and verification using the PKCS7_sign() and PKCS7_verify() functions. It appears to work OK, except that my test case for a zero length array fails to verify() - looks like the signature is OK though. The documentation suggests that PKCS7_verify() isn't