[makerom] misc

This commit is contained in:
jakcron
2015-12-27 14:55:39 +08:00
parent 1a4bdb912a
commit 695fadcb3c
+1 -1
View File
@@ -132,7 +132,7 @@ int accessdesc_GetSignFromPreset(exheader_settings *exhdrset)
return CANNOT_SIGN_ACCESSDESC;
}
if(!pre_sign->modulus && exhdrset->keys->rsa.requiresPresignedDesc){
if(!pre_sign && exhdrset->keys->rsa.requiresPresignedDesc){
fprintf(stderr,"[ACEXDESC ERROR] This AccessDesc template needs to be signed, the current keyset is incapable of doing so. Please configure RSF file with the appropriate signature data.\n");
return CANNOT_SIGN_ACCESSDESC;
}