From f4e683fc6bd6ac76f9979f49d737588b6ddf16b0 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 14 11月 2020 22:13:13 +0800
Subject: [PATCH] windows smbios

---
 src/templates/public_key.inja |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/templates/public_key.inja b/src/templates/public_key.inja
index 2045daf..8867e4c 100644
--- a/src/templates/public_key.inja
+++ b/src/templates/public_key.inja
@@ -1,4 +1,10 @@
+#ifndef PUBLIC_KEY_H_
+#define PUBLIC_KEY_H_
+
 #define PRODUCT_NAME {{ product_name }}
-#define PUBLIC_KEY { \
-{%for i in public_key%}{% if loop.index1 > 1 %},{% endif %}{{ i }}{%endfor%}\ 
+
+#define PUBLIC_KEY {\
+{%for i in public_key%}{% if loop.index1 > 1 %},{% endif %}{{ i }}{%endfor%}\
 }
+#define PUBLIC_KEY_LEN {{ public_key_len }}
+#endif
\ No newline at end of file

--
Gitblit v1.9.1