From 136908f0d0ef150309ea544b9bfb4b3beaa10d22 Mon Sep 17 00:00:00 2001 From: Bai Date: Mon, 8 Jun 2026 18:01:54 +0800 Subject: [PATCH] perf: gmssl_python add copyright notice --- apps/common/utils/gmssl_python.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/apps/common/utils/gmssl_python.py b/apps/common/utils/gmssl_python.py index 056d64d83..a055f8b87 100644 --- a/apps/common/utils/gmssl_python.py +++ b/apps/common/utils/gmssl_python.py @@ -7,6 +7,23 @@ # # GmSSL-Python - Python binding of the GmSSL library with `ctypes` +# ============================================================================= +# This file is derived from GmSSL-Python project (v2.2.2) +# https://github.com/GmSSL/GmSSL-Python/blob/v2.2.2/gmssl.py +# +# The original project is licensed under the Apache License 2.0: +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Copyright 2023 The GmSSL Project. All Rights Reserved. +# +# Reason for inclusion: +# This file is included by direct copy due to dependency conflict issues +# when installing via pip (gmssl / gmssl-python naming conflict). +# No functional modifications have been made to the original source. +# +# Compliance: +# This file is used in accordance with the Apache License 2.0 terms. +# ============================================================================= from ctypes import * from ctypes.util import find_library