Check-in [af6a31403e]
Overview
Comment:Updated to set SIGN_RECOVER attribute in all objects
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:af6a31403e0e786df0223fa1cecedd3ee54538e5
User & Date: rkeene on 2010-05-19 22:14:53
Other Links: manifest | tags
Context
2010-05-20
17:58
Fixed issue with signing wrong data check-in: d76d28b9e9 user: rkeene tags: trunk
2010-05-19
22:14
Updated to set SIGN_RECOVER attribute in all objects check-in: af6a31403e user: rkeene tags: trunk
2010-05-18
15:35
Moved PC/SC calls within big global lock check-in: 468216a439 user: rkeene tags: trunk
Changes

Modified cackey.c from [47f51881b0] to [24493cef2c].

  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