Clarify reason for RSA signing failure.

This commit is contained in:
jakcron
2022-04-17 13:13:10 +08:00
parent ea52a5dd00
commit b0813a886f
+1 -1
View File
@@ -581,7 +581,7 @@ int GenCciHdr(cci_settings *set)
// Sign Header
if (Rsa2048Key_CanSign(&set->keys->rsa.cciCfa) == false)
{
printf("[NCSD WARNING] Failed to sign header\n");
printf("[NCSD WARNING] Failed to sign header (key was incomplete)\n");
memset(hdr->signature, 0xFF, 0x100);
return 0;
}