Differences From
Artifact [47f51881b0]:
2639 2639 if (objectclass == CKO_PRIVATE_KEY) {
2640 2640 pValue = &ck_true;
2641 2641 ulValueLen = sizeof(ck_true);
2642 2642 } else {
2643 2643 pValue = &ck_false;
2644 2644 ulValueLen = sizeof(ck_false);
2645 2645 }
2646 +
2647 + CACKEY_DEBUG_PRINTF(" ... returning %lu (%p/%lu)", (unsigned long) *((CK_BBOOL *) pValue), pValue, (unsigned long) ulValueLen);
2648 +
2649 + break;
2650 + case CKA_SIGN_RECOVER:
2651 + CACKEY_DEBUG_PRINTF("Requesting attribute CKA_SIGN_RECOVER (0x%08lx) ...", (unsigned long) curr_attr_type);
2652 +
2653 + pValue = &ck_false;
2654 + ulValueLen = sizeof(ck_false);
2646 2655
2647 2656 CACKEY_DEBUG_PRINTF(" ... returning %lu (%p/%lu)", (unsigned long) *((CK_BBOOL *) pValue), pValue, (unsigned long) ulValueLen);
2648 2657
2649 2658 break;
2650 2659 case CKA_DECRYPT:
2651 2660 CACKEY_DEBUG_PRINTF("Requesting attribute CKA_DECRYPT (0x%08lx) ...", (unsigned long) curr_attr_type);
2652 2661