核心功能: - ✅ Categories/Series双视图管理(category_view.rs + import_markdown.rs) - ✅ FUSE Multi-Volume支持(tree_type参数) - ✅ SSH/SFTP/SCP/rsync协议完整实现(4042行) - ✅ NFS/SMB Module Phase 1-3完成 - ✅ Archive Module Phase 1-4完成(2916行) - ✅ Download Center API完整实现 - ✅ S3兼容API实现(560行) Git配置修正: - ✅ 删除错误origin(gitea.momentry.ddns.net) - ✅ 删除m5max128(指向机器名) - ✅ 设置origin = m5max128gitea.momentry.ddns.net/admin/markbase - ✅ 设置m4minigitea = m4minigitea.momentry.ddns.net/warren/markbase 数据清理: - ✅ 删除38个临时SQLite(保留accusys.sqlite、demo.sqlite) - ✅ 删除.bak、test_*.bin、调试脚本等临时文件 - ✅ 删除临时目录(build/、download files/、raid_test/等) - ✅ 更新.gitignore排除临时文件 架构优化: - 52个文件修改,2434行新增,4739行删除 - Workspace成员整合(16个crate) - 数据库状态:accusys.sqlite保留(主demo测试) 远程同步: - ✅ 准备推送到m5max128gitea(远程Gitea) - ✅ 准备推送到m4minigitea(本地Gitea)
53 lines
2.1 KiB
C
53 lines
2.1 KiB
C
// Copyright (c) 2023, Google Inc.
|
|
// SPDX-License-Identifier: ISC
|
|
|
|
#ifndef OPENSSL_HEADER_X509V3_H
|
|
#define OPENSSL_HEADER_X509V3_H
|
|
|
|
// This header primarily exists in order to make compiling against code that
|
|
// expects OpenSSL easier. We have merged this header into <openssl/x509.h>.
|
|
// However, due to conflicts, some deprecated symbols are defined here.
|
|
#include <openssl/x509.h>
|
|
|
|
|
|
// CRL reason constants.
|
|
|
|
// TODO(davidben): These constants live here because strongswan defines
|
|
// conflicting symbols and has been relying on them only being defined in
|
|
// <openssl/x509v3.h>. Defining the constants in <openssl/x509.h> would break
|
|
// strongswan, but we would also like for new code to only need
|
|
// <openssl/x509.h>. Introduce properly namespaced versions of these constants
|
|
// and, separately, see if we can fix strongswan to similarly avoid the
|
|
// conflict. Between OpenSSL, strongswan, and wincrypt.h all defining these
|
|
// constants, it seems best for everyone to just avoid them going forward.
|
|
#define CRL_REASON_NONE (-1)
|
|
#define CRL_REASON_UNSPECIFIED 0
|
|
#define CRL_REASON_KEY_COMPROMISE 1
|
|
#define CRL_REASON_CA_COMPROMISE 2
|
|
#define CRL_REASON_AFFILIATION_CHANGED 3
|
|
#define CRL_REASON_SUPERSEDED 4
|
|
#define CRL_REASON_CESSATION_OF_OPERATION 5
|
|
#define CRL_REASON_CERTIFICATE_HOLD 6
|
|
#define CRL_REASON_REMOVE_FROM_CRL 8
|
|
#define CRL_REASON_PRIVILEGE_WITHDRAWN 9
|
|
#define CRL_REASON_AA_COMPROMISE 10
|
|
|
|
|
|
// Deprecated constants.
|
|
|
|
// The following constants are legacy aliases for |X509v3_KU_*|. They are
|
|
// defined here instead of in <openssl/x509.h> because NSS's public headers use
|
|
// the same symbols. Some callers have inadvertently relied on the conflicts
|
|
// only being defined in this header.
|
|
#define KU_DIGITAL_SIGNATURE X509v3_KU_DIGITAL_SIGNATURE
|
|
#define KU_NON_REPUDIATION X509v3_KU_NON_REPUDIATION
|
|
#define KU_KEY_ENCIPHERMENT X509v3_KU_KEY_ENCIPHERMENT
|
|
#define KU_DATA_ENCIPHERMENT X509v3_KU_DATA_ENCIPHERMENT
|
|
#define KU_KEY_AGREEMENT X509v3_KU_KEY_AGREEMENT
|
|
#define KU_KEY_CERT_SIGN X509v3_KU_KEY_CERT_SIGN
|
|
#define KU_CRL_SIGN X509v3_KU_CRL_SIGN
|
|
#define KU_ENCIPHER_ONLY X509v3_KU_ENCIPHER_ONLY
|
|
#define KU_DECIPHER_ONLY X509v3_KU_DECIPHER_ONLY
|
|
|
|
#endif // OPENSSL_HEADER_X509V3_H
|