Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
fc6be0fa
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fc6be0fa
编写于
1月 07, 2000
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
#undef PKCS7_SIGNER_INFO for Win32 to avoid clashes.
Fix so CRLDistributionPoints relativeName option uses the correct type.
上级
2fdf5d7c
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
7 deletion
+10
-7
crypto/pkcs7/pkcs7.h
crypto/pkcs7/pkcs7.h
+2
-1
crypto/x509v3/v3_crld.c
crypto/x509v3/v3_crld.c
+7
-5
crypto/x509v3/x509v3.h
crypto/x509v3/x509v3.h
+1
-1
未找到文件。
crypto/pkcs7/pkcs7.h
浏览文件 @
fc6be0fa
...
...
@@ -71,8 +71,9 @@ extern "C" {
#endif
#ifdef WIN32
/* Under Win32 th
is is
defined in wincrypt.h */
/* Under Win32 th
es are
defined in wincrypt.h */
#undef PKCS7_ISSUER_AND_SERIAL
#undef PKCS7_SIGNER_INFO
#endif
/*
...
...
crypto/x509v3/v3_crld.c
浏览文件 @
fc6be0fa
...
...
@@ -218,13 +218,13 @@ void DIST_POINT_free(DIST_POINT *a)
int
i2d_DIST_POINT_NAME
(
DIST_POINT_NAME
*
a
,
unsigned
char
**
pp
)
{
int
v
=
0
;
M_ASN1_I2D_vars
(
a
);
if
(
a
->
fullname
)
{
M_ASN1_I2D_len_IMP_opt
(
a
->
fullname
,
i2d_GENERAL_NAMES
);
}
else
{
M_ASN1_I2D_len_EXP_opt
(
a
->
relativename
,
i2d_X509_NAME
,
1
,
v
);
M_ASN1_I2D_len_IMP_SET_opt_type
(
X509_NAME_ENTRY
,
a
->
relativename
,
i2d_X509_NAME_ENTRY
,
1
);
}
/* Don't want a SEQUENCE so... */
...
...
@@ -234,7 +234,8 @@ int i2d_DIST_POINT_NAME(DIST_POINT_NAME *a, unsigned char **pp)
if
(
a
->
fullname
)
{
M_ASN1_I2D_put_IMP_opt
(
a
->
fullname
,
i2d_GENERAL_NAMES
,
0
);
}
else
{
M_ASN1_I2D_put_EXP_opt
(
a
->
relativename
,
i2d_X509_NAME
,
1
,
v
);
M_ASN1_I2D_put_IMP_SET_opt_type
(
X509_NAME_ENTRY
,
a
->
relativename
,
i2d_X509_NAME_ENTRY
,
1
);
}
M_ASN1_I2D_finish
();
}
...
...
@@ -253,7 +254,7 @@ DIST_POINT_NAME *DIST_POINT_NAME_new(void)
void
DIST_POINT_NAME_free
(
DIST_POINT_NAME
*
a
)
{
if
(
a
==
NULL
)
return
;
X509_NAME_free
(
a
->
relativenam
e
);
sk_X509_NAME_ENTRY_pop_free
(
a
->
relativename
,
X509_NAME_ENTRY_fre
e
);
sk_GENERAL_NAME_pop_free
(
a
->
fullname
,
GENERAL_NAME_free
);
Free
((
char
*
)
a
);
}
...
...
@@ -273,7 +274,8 @@ DIST_POINT_NAME *d2i_DIST_POINT_NAME(DIST_POINT_NAME **a, unsigned char **pp,
M_ASN1_D2I_get_imp
(
ret
->
fullname
,
d2i_GENERAL_NAMES
,
V_ASN1_SEQUENCE
);
}
else
if
(
tag
==
(
1
|
V_ASN1_CONTEXT_SPECIFIC
))
{
M_ASN1_D2I_get_EXP_opt
(
ret
->
relativename
,
d2i_X509_NAME
,
1
);
M_ASN1_D2I_get_IMP_set_opt_type
(
X509_NAME_ENTRY
,
ret
->
relativename
,
d2i_X509_NAME_ENTRY
,
X509_NAME_ENTRY_free
,
1
);
}
else
{
c
.
error
=
ASN1_R_BAD_TAG
;
goto
err
;
...
...
crypto/x509v3/x509v3.h
浏览文件 @
fc6be0fa
...
...
@@ -192,7 +192,7 @@ DECLARE_ASN1_SET_OF(ACCESS_DESCRIPTION)
typedef
struct
DIST_POINT_NAME_st
{
/* NB: this is a CHOICE type and only one of these should be set */
STACK_OF
(
GENERAL_NAME
)
*
fullname
;
X509_NAME
*
relativename
;
STACK_OF
(
X509_NAME_ENTRY
)
*
relativename
;
}
DIST_POINT_NAME
;
typedef
struct
DIST_POINT_st
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录