Bug in common/mock.c:prefix_mechanism_init

Tijl Coosemans tijl at FreeBSD.org
Sun Sep 22 12:20:03 PDT 2013


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.)


More information about the p11-glue mailing list