From e2c2e9dc1a9a7f7eafff371cdf29bb731015238c Mon Sep 17 00:00:00 2001
From: Gabriele Contini <gcontini@users.noreply.github.com>
Date: 周六, 14 12月 2019 13:56:41 +0800
Subject: [PATCH] Merge pull request #69 from open-license-manager/feature/issue_licenses_42

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

diff --git a/src/templates/public_key.inja b/src/templates/public_key.inja
new file mode 100644
index 0000000..8867e4c
--- /dev/null
+++ b/src/templates/public_key.inja
@@ -0,0 +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_LEN {{ public_key_len }}
+#endif
\ No newline at end of file

--
Gitblit v1.9.1