From 8d405b265285c368df2e9cf1c14acee7532e0ee7 Mon Sep 17 00:00:00 2001 From: nancy.liao <huihui.liao@greentest.com.cn> Date: ćšć, 29 5æ 2025 18:14:38 +0800 Subject: [PATCH] Merge branch 'develop' of http://139.9.88.116:3000/r/module/open-license-manager into develop --- src/templates/public_key.inja | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/templates/public_key.inja b/src/templates/public_key.inja index 19f4d42..8867e4c 100644 --- a/src/templates/public_key.inja +++ b/src/templates/public_key.inja @@ -1,2 +1,10 @@ +#ifndef PUBLIC_KEY_H_ +#define PUBLIC_KEY_H_ + #define PRODUCT_NAME {{ product_name }} -#define PUBLIC_KEY {1,2,3} \ No newline at end of file + +#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