aboutsummaryrefslogtreecommitdiff
path: root/lib/libsecureboot/verify_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libsecureboot/verify_file.c')
-rw-r--r--lib/libsecureboot/verify_file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libsecureboot/verify_file.c b/lib/libsecureboot/verify_file.c
index 9773b02e5a1d..22f3f06b0eda 100644
--- a/lib/libsecureboot/verify_file.c
+++ b/lib/libsecureboot/verify_file.c
@@ -56,6 +56,9 @@ extern char *Skip;
* We sometimes need to know if input is verified or not.
* The extra slot is for tracking most recently opened.
*/
+#ifndef SOPEN_MAX
+#define SOPEN_MAX 64
+#endif
static int ve_status[SOPEN_MAX+1];
static int ve_status_state;
struct verify_status;