libsecureboot: define SOPEN_MAX

With commit 97cbd5e722, the SOPEN_MAX
was removed from stand.h.

We would need better mechanism there.
This commit is contained in:
Toomas Soome 2021-08-10 22:46:40 +03:00
parent 97cbd5e722
commit ee6dc333e1

View File

@ -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;