Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
11222483
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看板
提交
11222483
编写于
8月 18, 2016
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
constify X509_REQ_get0_signature()
Reviewed-by:
N
Matt Caswell
<
matt@openssl.org
>
上级
60c25873
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
9 deletion
+10
-9
crypto/x509/t_req.c
crypto/x509/t_req.c
+3
-3
crypto/x509/x509_req.c
crypto/x509/x509_req.c
+2
-2
doc/crypto/X509_get0_signature.pod
doc/crypto/X509_get0_signature.pod
+3
-2
include/openssl/x509.h
include/openssl/x509.h
+2
-2
未找到文件。
crypto/x509/t_req.c
浏览文件 @
11222483
...
@@ -174,9 +174,9 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
...
@@ -174,9 +174,9 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
}
}
if
(
!
(
cflag
&
X509_FLAG_NO_SIGDUMP
))
{
if
(
!
(
cflag
&
X509_FLAG_NO_SIGDUMP
))
{
X509_ALGOR
*
sig_alg
;
const
X509_ALGOR
*
sig_alg
;
ASN1_BIT_STRING
*
sig
;
const
ASN1_BIT_STRING
*
sig
;
X509_REQ_get0_signature
(
&
sig
,
&
sig_alg
,
x
);
X509_REQ_get0_signature
(
x
,
&
sig
,
&
sig_alg
);
if
(
!
X509_signature_print
(
bp
,
sig_alg
,
sig
))
if
(
!
X509_signature_print
(
bp
,
sig_alg
,
sig
))
goto
err
;
goto
err
;
}
}
...
...
crypto/x509/x509_req.c
浏览文件 @
11222483
...
@@ -277,8 +277,8 @@ X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req)
...
@@ -277,8 +277,8 @@ X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req)
return
req
->
req_info
.
subject
;
return
req
->
req_info
.
subject
;
}
}
void
X509_REQ_get0_signature
(
ASN1_BIT_STRING
**
psig
,
X509_ALGOR
**
pal
g
,
void
X509_REQ_get0_signature
(
const
X509_REQ
*
req
,
const
ASN1_BIT_STRING
**
psi
g
,
X509_REQ
*
req
)
const
X509_ALGOR
**
palg
)
{
{
if
(
psig
!=
NULL
)
if
(
psig
!=
NULL
)
*
psig
=
req
->
signature
;
*
psig
=
req
->
signature
;
...
...
doc/crypto/X509_get0_signature.pod
浏览文件 @
11222483
...
@@ -16,8 +16,9 @@ X509_CRL_get_signature_nid - signature information
...
@@ -16,8 +16,9 @@ X509_CRL_get_signature_nid - signature information
int X509_get_signature_nid(const X509 *x);
int X509_get_signature_nid(const X509 *x);
const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x);
const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x);
void X509_REQ_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg,
void X509_REQ_get0_signature(const X509_REQ *crl,
const X509_REQ *crl);
const ASN1_BIT_STRING **psig,
const X509_ALGOR **palg);
int X509_REQ_get_signature_nid(const X509_REQ *crl);
int X509_REQ_get_signature_nid(const X509_REQ *crl);
void X509_CRL_get0_signature(const X509_CRL *crl,
void X509_CRL_get0_signature(const X509_CRL *crl,
...
...
include/openssl/x509.h
浏览文件 @
11222483
...
@@ -647,8 +647,8 @@ long X509_REQ_get_version(const X509_REQ *req);
...
@@ -647,8 +647,8 @@ long X509_REQ_get_version(const X509_REQ *req);
int
X509_REQ_set_version
(
X509_REQ
*
x
,
long
version
);
int
X509_REQ_set_version
(
X509_REQ
*
x
,
long
version
);
X509_NAME
*
X509_REQ_get_subject_name
(
const
X509_REQ
*
req
);
X509_NAME
*
X509_REQ_get_subject_name
(
const
X509_REQ
*
req
);
int
X509_REQ_set_subject_name
(
X509_REQ
*
req
,
X509_NAME
*
name
);
int
X509_REQ_set_subject_name
(
X509_REQ
*
req
,
X509_NAME
*
name
);
void
X509_REQ_get0_signature
(
ASN1_BIT_STRING
**
psig
,
X509_ALGOR
**
pal
g
,
void
X509_REQ_get0_signature
(
const
X509_REQ
*
req
,
const
ASN1_BIT_STRING
**
psi
g
,
X509_REQ
*
req
);
const
X509_ALGOR
**
palg
);
int
X509_REQ_get_signature_nid
(
const
X509_REQ
*
req
);
int
X509_REQ_get_signature_nid
(
const
X509_REQ
*
req
);
int
i2d_re_X509_REQ_tbs
(
X509_REQ
*
req
,
unsigned
char
**
pp
);
int
i2d_re_X509_REQ_tbs
(
X509_REQ
*
req
,
unsigned
char
**
pp
);
int
X509_REQ_set_pubkey
(
X509_REQ
*
x
,
EVP_PKEY
*
pkey
);
int
X509_REQ_set_pubkey
(
X509_REQ
*
x
,
EVP_PKEY
*
pkey
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录