if (cert != NULL) {
if (!force  && cert != NULL) {
PK11_DeleteTokenPrivateKey(SECKEYPrivateKey *privKey){    CERTCertificate *cert=PK11_GetCertFromPrivateKey(privKey);    /* found a cert matching the private key?. */    if (cert != NULL) {	/* yes, don't delete the key */        CERT_DestroyCertificate(cert);	SECKEY_DestroyPrivateKey(privKey);	return SECWouldBlock;    }    /* now, then it's safe for the key to go away */    PK11_DestroyTokenObject(privKey->pkcs11Slot,privKey->pkcs11ID);    SECKEY_DestroyPrivateKey(privKey);    return SECSuccess;}