diff options
| -rw-r--r-- | MokManager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MokManager.c b/MokManager.c index 77e0c5bf..70fbbadd 100644 --- a/MokManager.c +++ b/MokManager.c @@ -1960,7 +1960,7 @@ static BOOLEAN check_der_suffix(CHAR16 * file_name) return FALSE; suffix[0] = '\0'; - StrCat(suffix, file_name + StrLen(file_name) - 4); + StrnCat(suffix, file_name + StrLen(file_name) - 4, 4); StrLwr(suffix); for (i = 0; der_suffix[i] != NULL; i++) { |
