Bug in common/mock.c:prefix_mechanism_init

Stef Walter stefw at redhat.com
Wed Jan 8 06:32:02 PST 2014


On 22.09.2013 21:19, Tijl Coosemans wrote:
> Hi,
> 
> In common/mock.c:prefix_mechanism_init there's a line that says:
> 
> } else if (method == CKA_VERIFY || CKA_VERIFY_RECOVER) {
> 
> Presumably this should be:
> 
> } else if (method == CKA_VERIFY || method == CKA_VERIFY_RECOVER) {
> 
> (Found by compiling with clang.)

Thank you. Pushed a fix for this to git master. For reference, this is
in the testing code.

Cheers,

Stef


More information about the p11-glue mailing list