Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
91b73acb
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看板
提交
91b73acb
编写于
12月 11, 2006
作者:
N
Nils Larsch
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
use const ASN1_TIME *
上级
87d3af64
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
12 addition
and
12 deletion
+12
-12
crypto/x509/x509.h
crypto/x509/x509.h
+6
-6
crypto/x509/x509_set.c
crypto/x509/x509_set.c
+2
-2
crypto/x509/x509_vfy.c
crypto/x509/x509_vfy.c
+2
-2
crypto/x509/x509cset.c
crypto/x509/x509cset.c
+2
-2
未找到文件。
crypto/x509/x509.h
浏览文件 @
91b73acb
...
...
@@ -750,8 +750,8 @@ void X509_ALGOR_get0(ASN1_OBJECT **paobj, int *pptype, void **ppval,
X509_NAME
*
X509_NAME_dup
(
X509_NAME
*
xn
);
X509_NAME_ENTRY
*
X509_NAME_ENTRY_dup
(
X509_NAME_ENTRY
*
ne
);
int
X509_cmp_time
(
ASN1_TIME
*
s
,
time_t
*
t
);
int
X509_cmp_current_time
(
ASN1_TIME
*
s
);
int
X509_cmp_time
(
const
ASN1_TIME
*
s
,
time_t
*
t
);
int
X509_cmp_current_time
(
const
ASN1_TIME
*
s
);
ASN1_TIME
*
X509_time_adj
(
ASN1_TIME
*
s
,
long
adj
,
time_t
*
t
);
ASN1_TIME
*
X509_gmtime_adj
(
ASN1_TIME
*
s
,
long
adj
);
...
...
@@ -883,8 +883,8 @@ int X509_set_issuer_name(X509 *x, X509_NAME *name);
X509_NAME
*
X509_get_issuer_name
(
X509
*
a
);
int
X509_set_subject_name
(
X509
*
x
,
X509_NAME
*
name
);
X509_NAME
*
X509_get_subject_name
(
X509
*
a
);
int
X509_set_notBefore
(
X509
*
x
,
ASN1_TIME
*
tm
);
int
X509_set_notAfter
(
X509
*
x
,
ASN1_TIME
*
tm
);
int
X509_set_notBefore
(
X509
*
x
,
const
ASN1_TIME
*
tm
);
int
X509_set_notAfter
(
X509
*
x
,
const
ASN1_TIME
*
tm
);
int
X509_set_pubkey
(
X509
*
x
,
EVP_PKEY
*
pkey
);
EVP_PKEY
*
X509_get_pubkey
(
X509
*
x
);
ASN1_BIT_STRING
*
X509_get0_pubkey_bitstr
(
const
X509
*
x
);
...
...
@@ -921,8 +921,8 @@ int X509_REQ_add1_attr_by_txt(X509_REQ *req,
int
X509_CRL_set_version
(
X509_CRL
*
x
,
long
version
);
int
X509_CRL_set_issuer_name
(
X509_CRL
*
x
,
X509_NAME
*
name
);
int
X509_CRL_set_lastUpdate
(
X509_CRL
*
x
,
ASN1_TIME
*
tm
);
int
X509_CRL_set_nextUpdate
(
X509_CRL
*
x
,
ASN1_TIME
*
tm
);
int
X509_CRL_set_lastUpdate
(
X509_CRL
*
x
,
const
ASN1_TIME
*
tm
);
int
X509_CRL_set_nextUpdate
(
X509_CRL
*
x
,
const
ASN1_TIME
*
tm
);
int
X509_CRL_sort
(
X509_CRL
*
crl
);
int
X509_REVOKED_set_serialNumber
(
X509_REVOKED
*
x
,
ASN1_INTEGER
*
serial
);
...
...
crypto/x509/x509_set.c
浏览文件 @
91b73acb
...
...
@@ -104,7 +104,7 @@ int X509_set_subject_name(X509 *x, X509_NAME *name)
return
(
X509_NAME_set
(
&
x
->
cert_info
->
subject
,
name
));
}
int
X509_set_notBefore
(
X509
*
x
,
ASN1_TIME
*
tm
)
int
X509_set_notBefore
(
X509
*
x
,
const
ASN1_TIME
*
tm
)
{
ASN1_TIME
*
in
;
...
...
@@ -122,7 +122,7 @@ int X509_set_notBefore(X509 *x, ASN1_TIME *tm)
return
(
in
!=
NULL
);
}
int
X509_set_notAfter
(
X509
*
x
,
ASN1_TIME
*
tm
)
int
X509_set_notAfter
(
X509
*
x
,
const
ASN1_TIME
*
tm
)
{
ASN1_TIME
*
in
;
...
...
crypto/x509/x509_vfy.c
浏览文件 @
91b73acb
...
...
@@ -1157,12 +1157,12 @@ end:
return
ok
;
}
int
X509_cmp_current_time
(
ASN1_TIME
*
ctm
)
int
X509_cmp_current_time
(
const
ASN1_TIME
*
ctm
)
{
return
X509_cmp_time
(
ctm
,
NULL
);
}
int
X509_cmp_time
(
ASN1_TIME
*
ctm
,
time_t
*
cmp_time
)
int
X509_cmp_time
(
const
ASN1_TIME
*
ctm
,
time_t
*
cmp_time
)
{
char
*
str
;
ASN1_TIME
atm
;
...
...
crypto/x509/x509cset.c
浏览文件 @
91b73acb
...
...
@@ -81,7 +81,7 @@ int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name)
}
int
X509_CRL_set_lastUpdate
(
X509_CRL
*
x
,
ASN1_TIME
*
tm
)
int
X509_CRL_set_lastUpdate
(
X509_CRL
*
x
,
const
ASN1_TIME
*
tm
)
{
ASN1_TIME
*
in
;
...
...
@@ -99,7 +99,7 @@ int X509_CRL_set_lastUpdate(X509_CRL *x, ASN1_TIME *tm)
return
(
in
!=
NULL
);
}
int
X509_CRL_set_nextUpdate
(
X509_CRL
*
x
,
ASN1_TIME
*
tm
)
int
X509_CRL_set_nextUpdate
(
X509_CRL
*
x
,
const
ASN1_TIME
*
tm
)
{
ASN1_TIME
*
in
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录