Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
23dc1706
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
9
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
23dc1706
编写于
3月 28, 2015
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make asn1_ex_i2c, asn1_ex_c2i static.
Reviewed-by:
N
Kurt Roeckx
<
kurt@openssl.org
>
上级
ee9d7637
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
8 addition
and
9 deletion
+8
-9
crypto/asn1/asn1_locl.h
crypto/asn1/asn1_locl.h
+0
-5
crypto/asn1/tasn_dec.c
crypto/asn1/tasn_dec.c
+4
-2
crypto/asn1/tasn_enc.c
crypto/asn1/tasn_enc.c
+4
-2
未找到文件。
crypto/asn1/asn1_locl.h
浏览文件 @
23dc1706
...
@@ -105,11 +105,6 @@ struct x509_crl_method_st {
...
@@ -105,11 +105,6 @@ struct x509_crl_method_st {
int
(
*
crl_verify
)
(
X509_CRL
*
crl
,
EVP_PKEY
*
pk
);
int
(
*
crl_verify
)
(
X509_CRL
*
crl
,
EVP_PKEY
*
pk
);
};
};
int
asn1_ex_i2c
(
ASN1_VALUE
**
pval
,
unsigned
char
*
cont
,
int
*
putype
,
const
ASN1_ITEM
*
it
);
int
asn1_ex_c2i
(
ASN1_VALUE
**
pval
,
const
unsigned
char
*
cont
,
int
len
,
int
utype
,
char
*
free_cont
,
const
ASN1_ITEM
*
it
);
int
asn1_get_choice_selector
(
ASN1_VALUE
**
pval
,
const
ASN1_ITEM
*
it
);
int
asn1_get_choice_selector
(
ASN1_VALUE
**
pval
,
const
ASN1_ITEM
*
it
);
int
asn1_set_choice_selector
(
ASN1_VALUE
**
pval
,
int
value
,
int
asn1_set_choice_selector
(
ASN1_VALUE
**
pval
,
int
value
,
const
ASN1_ITEM
*
it
);
const
ASN1_ITEM
*
it
);
...
...
crypto/asn1/tasn_dec.c
浏览文件 @
23dc1706
...
@@ -92,6 +92,8 @@ static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
...
@@ -92,6 +92,8 @@ static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
const
ASN1_ITEM
*
it
,
const
ASN1_ITEM
*
it
,
int
tag
,
int
aclass
,
char
opt
,
int
tag
,
int
aclass
,
char
opt
,
ASN1_TLC
*
ctx
);
ASN1_TLC
*
ctx
);
static
int
asn1_ex_c2i
(
ASN1_VALUE
**
pval
,
const
unsigned
char
*
cont
,
int
len
,
int
utype
,
char
*
free_cont
,
const
ASN1_ITEM
*
it
);
/* Table to convert tags to bit values, used for MSTRING type */
/* Table to convert tags to bit values, used for MSTRING type */
static
const
unsigned
long
tag2bit
[
32
]
=
{
static
const
unsigned
long
tag2bit
[
32
]
=
{
...
@@ -770,7 +772,7 @@ static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
...
@@ -770,7 +772,7 @@ static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
/* Translate ASN1 content octets into a structure */
/* Translate ASN1 content octets into a structure */
int
asn1_ex_c2i
(
ASN1_VALUE
**
pval
,
const
unsigned
char
*
cont
,
int
len
,
static
int
asn1_ex_c2i
(
ASN1_VALUE
**
pval
,
const
unsigned
char
*
cont
,
int
len
,
int
utype
,
char
*
free_cont
,
const
ASN1_ITEM
*
it
)
int
utype
,
char
*
free_cont
,
const
ASN1_ITEM
*
it
)
{
{
ASN1_VALUE
**
opval
=
NULL
;
ASN1_VALUE
**
opval
=
NULL
;
...
...
crypto/asn1/tasn_enc.c
浏览文件 @
23dc1706
...
@@ -75,6 +75,8 @@ static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
...
@@ -75,6 +75,8 @@ static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
const
ASN1_TEMPLATE
*
tt
,
int
tag
,
int
aclass
);
const
ASN1_TEMPLATE
*
tt
,
int
tag
,
int
aclass
);
static
int
asn1_item_flags_i2d
(
ASN1_VALUE
*
val
,
unsigned
char
**
out
,
static
int
asn1_item_flags_i2d
(
ASN1_VALUE
*
val
,
unsigned
char
**
out
,
const
ASN1_ITEM
*
it
,
int
flags
);
const
ASN1_ITEM
*
it
,
int
flags
);
static
int
asn1_ex_i2c
(
ASN1_VALUE
**
pval
,
unsigned
char
*
cout
,
int
*
putype
,
const
ASN1_ITEM
*
it
);
/*
/*
* Top level i2d equivalents: the 'ndef' variant instructs the encoder to use
* Top level i2d equivalents: the 'ndef' variant instructs the encoder to use
...
@@ -517,7 +519,7 @@ static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out,
...
@@ -517,7 +519,7 @@ static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out,
/* Produce content octets from a structure */
/* Produce content octets from a structure */
int
asn1_ex_i2c
(
ASN1_VALUE
**
pval
,
unsigned
char
*
cout
,
int
*
putype
,
static
int
asn1_ex_i2c
(
ASN1_VALUE
**
pval
,
unsigned
char
*
cout
,
int
*
putype
,
const
ASN1_ITEM
*
it
)
const
ASN1_ITEM
*
it
)
{
{
ASN1_BOOLEAN
*
tbool
=
NULL
;
ASN1_BOOLEAN
*
tbool
=
NULL
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录