mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-19 09:25:12 -04:00
[net] improve handling of invalid signatures
* Also make bPromptOnError an actual parameter to the download function calls * Also prefer the use of assert() to custom assertion messages
This commit is contained in:
parent
fdfc9ff82d
commit
7c142fadbc
12 changed files with 93 additions and 78 deletions
|
@ -315,6 +315,8 @@ const char* _StrError(DWORD error_code)
|
|||
return lmprintf(MSG_078);
|
||||
case ERROR_NOT_READY:
|
||||
return lmprintf(MSG_079);
|
||||
case ERROR_BAD_SIGNATURE:
|
||||
return lmprintf(MSG_172);
|
||||
default:
|
||||
SetLastError(error_code);
|
||||
return WindowsErrorString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue