From f1d283e941680a97d74a2fb7f6bcdd9490efc394 Mon Sep 17 00:00:00 2001 From: nancy.liao <huihui.liao@greentest.com.cn> Date: 周四, 29 5月 2025 18:14:27 +0800 Subject: [PATCH] 根据具体需求 修改了一个强制性的版本匹配,否则license返回结果不正确 --- src/library/base/base64.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/library/base/base64.h b/src/library/base/base64.h index f64c4cd..466a263 100644 --- a/src/library/base/base64.h +++ b/src/library/base/base64.h @@ -2,6 +2,7 @@ #define BASE64_H #include <string> +#include <vector> #if _WIN32 #include <wtypes.h> @@ -9,7 +10,7 @@ namespace license { -unsigned char* unbase64(const char* ascii, int len, int* flen); +std::vector<uint8_t> unbase64(const std::string& base64_data); std::string base64(const void* binaryData, size_t len, int lineLenght = -1); } // namespace license -- Gitblit v1.9.1