secGear/0066-fix-error-file-name.patch
2023-09-18 11:13:44 +08:00

46 lines
1.6 KiB
Diff

From a2c0a27d8011ebb0c66c22daca17e0342d8bc5cf Mon Sep 17 00:00:00 2001
From: houmingyong <houmingyong@huawei.com>
Date: Fri, 2 Jun 2023 10:31:11 +0800
Subject: [PATCH] fix error file name
---
thirdparty/cjson/{cJSON.bak => cJSON.c} | 0
.../kunpengsecl/verifier/custom_base64url.h | 20 -------------------
2 files changed, 20 deletions(-)
rename thirdparty/cjson/{cJSON.bak => cJSON.c} (100%)
delete mode 100644 thirdparty/kunpengsecl/verifier/custom_base64url.h
diff --git a/thirdparty/cjson/cJSON.bak b/thirdparty/cjson/cJSON.c
similarity index 100%
rename from thirdparty/cjson/cJSON.bak
rename to thirdparty/cjson/cJSON.c
diff --git a/thirdparty/kunpengsecl/verifier/custom_base64url.h b/thirdparty/kunpengsecl/verifier/custom_base64url.h
deleted file mode 100644
index 1e003da..0000000
--- a/thirdparty/kunpengsecl/verifier/custom_base64url.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-kunpengsecl licensed under the Mulan PSL v2.
-You can use this software according to the terms and conditions of
-the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at:
- http://license.coscl.org.cn/MulanPSL2
-THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
-EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
-MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
-See the Mulan PSL v2 for more details.
-*/
-
-#ifndef CUSTOM_BASE64URL_H
-#define CUSTOM_BASE64URL_H
-
-#include <stdlib.h>
-
-void base64urlencode(const uint8_t *src, int src_len, uint8_t *cipher, int *dest_len);
-uint8_t *base64urldecode(const uint8_t *src, int src_len, int *dest_len);
-
-#endif
--
2.33.0