The branch main has been updated by tsoome:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=ee6dc333e1a1af08afa3d14b83e963e4cf90b77b

commit ee6dc333e1a1af08afa3d14b83e963e4cf90b77b
Author:     Toomas Soome <[email protected]>
AuthorDate: 2021-08-10 19:46:40 +0000
Commit:     Toomas Soome <[email protected]>
CommitDate: 2021-08-10 19:46:40 +0000

    libsecureboot: define SOPEN_MAX
    
    With commit 97cbd5e722389a575e820c4e03f38053308f08ea, the SOPEN_MAX
    was removed from stand.h.
    
    We would need better mechanism there.
---
 lib/libsecureboot/verify_file.c | 3 +++
 1 file changed, 3 insertions(+)

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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "[email protected]"

Reply via email to