Diff

Differences From Artifact [498d154f21]:

To Artifact [0c1884cff7]:


  3842   3842   	if (pulCount == NULL) {
  3843   3843   		CACKEY_DEBUG_PRINTF("Error.  pulCount is NULL.");
  3844   3844   
  3845   3845   		return(CKR_ARGUMENTS_BAD);
  3846   3846   	}
  3847   3847   
  3848   3848   	if (pMechanismList == NULL) {
  3849         -		*pulCount = 2;
         3849  +		*pulCount = 1;
  3850   3850   
  3851   3851   		CACKEY_DEBUG_PRINTF("Returning CKR_OK (%i)", CKR_OK);
  3852   3852   
  3853   3853   		return(CKR_OK);
  3854   3854   	}
  3855   3855   
  3856   3856   	if (*pulCount < 2) {