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 expected to work ("indata cannot be NULL"). Are there any alternative functions that I should be looking at? Or is there some workaround? Brad
pgpQ0q9bxNz6E.pgp
Description: PGP signature