Diff

Differences From Artifact [0c1884cff7]:

To Artifact [e9059b3fc8]:


  3849   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         -	if (*pulCount < 2) {
         3856  +	if (*pulCount < 1) {
  3857   3857   		CACKEY_DEBUG_PRINTF("Error.  Buffer too small.");
  3858   3858   
  3859   3859   		return(CKR_BUFFER_TOO_SMALL);
  3860   3860   	}
  3861   3861   
  3862   3862   	pMechanismList[0] = CKM_RSA_PKCS;
  3863   3863   	*pulCount = 1;