void *silc_pkcs_get_context(SilcPKCSType type, SilcPublicKey public_key)
{
if (public_key->pkcs->type != type)
- return FALSE;
+ return NULL;
return public_key->public_key;
}
silc_free(data);
silc_free(public_key);
+ *ret_public_key = NULL;
return FALSE;
}
silc_free(data);
silc_free(private_key);
+ *ret_private_key = NULL;
return FALSE;
}