Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
31a352d1
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
接近 2 年 前同步成功
通知
12
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看板
提交
31a352d1
编写于
5月 21, 1999
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
The last argument in the d2i_XXX_fp and d2i_XXX_bio functions should be
of type XXX ** not XXX *
上级
d6847aed
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
28 addition
and
28 deletion
+28
-28
crypto/pkcs7/pkcs7.h
crypto/pkcs7/pkcs7.h
+2
-2
crypto/x509/x509.h
crypto/x509/x509.h
+12
-12
crypto/x509/x_all.c
crypto/x509/x_all.c
+14
-14
未找到文件。
crypto/pkcs7/pkcs7.h
浏览文件 @
31a352d1
...
...
@@ -235,11 +235,11 @@ PKCS7_ISSUER_AND_SERIAL *d2i_PKCS7_ISSUER_AND_SERIAL(
int
PKCS7_ISSUER_AND_SERIAL_digest
(
PKCS7_ISSUER_AND_SERIAL
*
data
,
EVP_MD
*
type
,
unsigned
char
*
md
,
unsigned
int
*
len
);
#ifndef NO_FP_API
PKCS7
*
d2i_PKCS7_fp
(
FILE
*
fp
,
PKCS7
*
p7
);
PKCS7
*
d2i_PKCS7_fp
(
FILE
*
fp
,
PKCS7
*
*
p7
);
int
i2d_PKCS7_fp
(
FILE
*
fp
,
PKCS7
*
p7
);
#endif
PKCS7
*
PKCS7_dup
(
PKCS7
*
p7
);
PKCS7
*
d2i_PKCS7_bio
(
BIO
*
bp
,
PKCS7
*
p7
);
PKCS7
*
d2i_PKCS7_bio
(
BIO
*
bp
,
PKCS7
*
*
p7
);
int
i2d_PKCS7_bio
(
BIO
*
bp
,
PKCS7
*
p7
);
#endif
...
...
crypto/x509/x509.h
浏览文件 @
31a352d1
...
...
@@ -551,39 +551,39 @@ int X509_NAME_digest(X509_NAME *data,EVP_MD *type,
#endif
#ifndef NO_FP_API
X509
*
d2i_X509_fp
(
FILE
*
fp
,
X509
*
x509
);
X509
*
d2i_X509_fp
(
FILE
*
fp
,
X509
*
*
x509
);
int
i2d_X509_fp
(
FILE
*
fp
,
X509
*
x509
);
X509_CRL
*
d2i_X509_CRL_fp
(
FILE
*
fp
,
X509_CRL
*
crl
);
X509_CRL
*
d2i_X509_CRL_fp
(
FILE
*
fp
,
X509_CRL
*
*
crl
);
int
i2d_X509_CRL_fp
(
FILE
*
fp
,
X509_CRL
*
crl
);
X509_REQ
*
d2i_X509_REQ_fp
(
FILE
*
fp
,
X509_REQ
*
req
);
X509_REQ
*
d2i_X509_REQ_fp
(
FILE
*
fp
,
X509_REQ
*
*
req
);
int
i2d_X509_REQ_fp
(
FILE
*
fp
,
X509_REQ
*
req
);
#ifndef NO_RSA
RSA
*
d2i_RSAPrivateKey_fp
(
FILE
*
fp
,
RSA
*
rsa
);
RSA
*
d2i_RSAPrivateKey_fp
(
FILE
*
fp
,
RSA
*
*
rsa
);
int
i2d_RSAPrivateKey_fp
(
FILE
*
fp
,
RSA
*
rsa
);
RSA
*
d2i_RSAPublicKey_fp
(
FILE
*
fp
,
RSA
*
rsa
);
RSA
*
d2i_RSAPublicKey_fp
(
FILE
*
fp
,
RSA
*
*
rsa
);
int
i2d_RSAPublicKey_fp
(
FILE
*
fp
,
RSA
*
rsa
);
#endif
#ifndef NO_DSA
DSA
*
d2i_DSAPrivateKey_fp
(
FILE
*
fp
,
DSA
*
dsa
);
DSA
*
d2i_DSAPrivateKey_fp
(
FILE
*
fp
,
DSA
*
*
dsa
);
int
i2d_DSAPrivateKey_fp
(
FILE
*
fp
,
DSA
*
dsa
);
#endif
#endif
#ifdef HEADER_BIO_H
X509
*
d2i_X509_bio
(
BIO
*
bp
,
X509
*
x509
);
X509
*
d2i_X509_bio
(
BIO
*
bp
,
X509
*
*
x509
);
int
i2d_X509_bio
(
BIO
*
bp
,
X509
*
x509
);
X509_CRL
*
d2i_X509_CRL_bio
(
BIO
*
bp
,
X509_CRL
*
crl
);
X509_CRL
*
d2i_X509_CRL_bio
(
BIO
*
bp
,
X509_CRL
*
*
crl
);
int
i2d_X509_CRL_bio
(
BIO
*
bp
,
X509_CRL
*
crl
);
X509_REQ
*
d2i_X509_REQ_bio
(
BIO
*
bp
,
X509_REQ
*
req
);
X509_REQ
*
d2i_X509_REQ_bio
(
BIO
*
bp
,
X509_REQ
*
*
req
);
int
i2d_X509_REQ_bio
(
BIO
*
bp
,
X509_REQ
*
req
);
#ifndef NO_RSA
RSA
*
d2i_RSAPrivateKey_bio
(
BIO
*
bp
,
RSA
*
rsa
);
RSA
*
d2i_RSAPrivateKey_bio
(
BIO
*
bp
,
RSA
*
*
rsa
);
int
i2d_RSAPrivateKey_bio
(
BIO
*
bp
,
RSA
*
rsa
);
RSA
*
d2i_RSAPublicKey_bio
(
BIO
*
bp
,
RSA
*
rsa
);
RSA
*
d2i_RSAPublicKey_bio
(
BIO
*
bp
,
RSA
*
*
rsa
);
int
i2d_RSAPublicKey_bio
(
BIO
*
bp
,
RSA
*
rsa
);
#endif
#ifndef NO_DSA
DSA
*
d2i_DSAPrivateKey_bio
(
BIO
*
bp
,
DSA
*
dsa
);
DSA
*
d2i_DSAPrivateKey_bio
(
BIO
*
bp
,
DSA
*
*
dsa
);
int
i2d_DSAPrivateKey_bio
(
BIO
*
bp
,
DSA
*
dsa
);
#endif
#endif
...
...
crypto/x509/x_all.c
浏览文件 @
31a352d1
...
...
@@ -133,7 +133,7 @@ X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex)
}
#ifndef NO_FP_API
X509
*
d2i_X509_fp
(
FILE
*
fp
,
X509
*
x509
)
X509
*
d2i_X509_fp
(
FILE
*
fp
,
X509
*
*
x509
)
{
return
((
X509
*
)
ASN1_d2i_fp
((
char
*
(
*
)())
X509_new
,
(
char
*
(
*
)())
d2i_X509
,
(
fp
),(
unsigned
char
**
)(
x509
)));
...
...
@@ -145,7 +145,7 @@ int i2d_X509_fp(FILE *fp, X509 *x509)
}
#endif
X509
*
d2i_X509_bio
(
BIO
*
bp
,
X509
*
x509
)
X509
*
d2i_X509_bio
(
BIO
*
bp
,
X509
*
*
x509
)
{
return
((
X509
*
)
ASN1_d2i_bio
((
char
*
(
*
)())
X509_new
,
(
char
*
(
*
)())
d2i_X509
,
(
bp
),(
unsigned
char
**
)(
x509
)));
...
...
@@ -163,7 +163,7 @@ X509_CRL *X509_CRL_dup(X509_CRL *crl)
}
#ifndef NO_FP_API
X509_CRL
*
d2i_X509_CRL_fp
(
FILE
*
fp
,
X509_CRL
*
crl
)
X509_CRL
*
d2i_X509_CRL_fp
(
FILE
*
fp
,
X509_CRL
*
*
crl
)
{
return
((
X509_CRL
*
)
ASN1_d2i_fp
((
char
*
(
*
)())
X509_CRL_new
,(
char
*
(
*
)())
d2i_X509_CRL
,
(
fp
),
...
...
@@ -176,7 +176,7 @@ int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl)
}
#endif
X509_CRL
*
d2i_X509_CRL_bio
(
BIO
*
bp
,
X509_CRL
*
crl
)
X509_CRL
*
d2i_X509_CRL_bio
(
BIO
*
bp
,
X509_CRL
*
*
crl
)
{
return
((
X509_CRL
*
)
ASN1_d2i_bio
((
char
*
(
*
)())
X509_CRL_new
,(
char
*
(
*
)())
d2i_X509_CRL
,
(
bp
),
...
...
@@ -195,7 +195,7 @@ PKCS7 *PKCS7_dup(PKCS7 *p7)
}
#ifndef NO_FP_API
PKCS7
*
d2i_PKCS7_fp
(
FILE
*
fp
,
PKCS7
*
p7
)
PKCS7
*
d2i_PKCS7_fp
(
FILE
*
fp
,
PKCS7
*
*
p7
)
{
return
((
PKCS7
*
)
ASN1_d2i_fp
((
char
*
(
*
)())
PKCS7_new
,(
char
*
(
*
)())
d2i_PKCS7
,
(
fp
),
...
...
@@ -208,7 +208,7 @@ int i2d_PKCS7_fp(FILE *fp, PKCS7 *p7)
}
#endif
PKCS7
*
d2i_PKCS7_bio
(
BIO
*
bp
,
PKCS7
*
p7
)
PKCS7
*
d2i_PKCS7_bio
(
BIO
*
bp
,
PKCS7
*
*
p7
)
{
return
((
PKCS7
*
)
ASN1_d2i_bio
((
char
*
(
*
)())
PKCS7_new
,(
char
*
(
*
)())
d2i_PKCS7
,
(
bp
),
...
...
@@ -227,7 +227,7 @@ X509_REQ *X509_REQ_dup(X509_REQ *req)
}
#ifndef NO_FP_API
X509_REQ
*
d2i_X509_REQ_fp
(
FILE
*
fp
,
X509_REQ
*
req
)
X509_REQ
*
d2i_X509_REQ_fp
(
FILE
*
fp
,
X509_REQ
*
*
req
)
{
return
((
X509_REQ
*
)
ASN1_d2i_fp
((
char
*
(
*
)())
X509_REQ_new
,
(
char
*
(
*
)())
d2i_X509_REQ
,
(
fp
),
...
...
@@ -240,7 +240,7 @@ int i2d_X509_REQ_fp(FILE *fp, X509_REQ *req)
}
#endif
X509_REQ
*
d2i_X509_REQ_bio
(
BIO
*
bp
,
X509_REQ
*
req
)
X509_REQ
*
d2i_X509_REQ_bio
(
BIO
*
bp
,
X509_REQ
*
*
req
)
{
return
((
X509_REQ
*
)
ASN1_d2i_bio
((
char
*
(
*
)())
X509_REQ_new
,
(
char
*
(
*
)())
d2i_X509_REQ
,
(
bp
),
...
...
@@ -266,7 +266,7 @@ RSA *RSAPrivateKey_dup(RSA *rsa)
}
#ifndef NO_FP_API
RSA
*
d2i_RSAPrivateKey_fp
(
FILE
*
fp
,
RSA
*
rsa
)
RSA
*
d2i_RSAPrivateKey_fp
(
FILE
*
fp
,
RSA
*
*
rsa
)
{
return
((
RSA
*
)
ASN1_d2i_fp
((
char
*
(
*
)())
RSA_new
,(
char
*
(
*
)())
d2i_RSAPrivateKey
,
(
fp
),
...
...
@@ -278,7 +278,7 @@ int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa)
return
(
ASN1_i2d_fp
(
i2d_RSAPrivateKey
,
fp
,(
unsigned
char
*
)
rsa
));
}
RSA
*
d2i_RSAPublicKey_fp
(
FILE
*
fp
,
RSA
*
rsa
)
RSA
*
d2i_RSAPublicKey_fp
(
FILE
*
fp
,
RSA
*
*
rsa
)
{
return
((
RSA
*
)
ASN1_d2i_fp
((
char
*
(
*
)())
RSA_new
,(
char
*
(
*
)())
d2i_RSAPublicKey
,
(
fp
),
...
...
@@ -291,7 +291,7 @@ int i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa)
}
#endif
RSA
*
d2i_RSAPrivateKey_bio
(
BIO
*
bp
,
RSA
*
rsa
)
RSA
*
d2i_RSAPrivateKey_bio
(
BIO
*
bp
,
RSA
*
*
rsa
)
{
return
((
RSA
*
)
ASN1_d2i_bio
((
char
*
(
*
)())
RSA_new
,(
char
*
(
*
)())
d2i_RSAPrivateKey
,
(
bp
),
...
...
@@ -303,7 +303,7 @@ int i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa)
return
(
ASN1_i2d_bio
(
i2d_RSAPrivateKey
,
bp
,(
unsigned
char
*
)
rsa
));
}
RSA
*
d2i_RSAPublicKey_bio
(
BIO
*
bp
,
RSA
*
rsa
)
RSA
*
d2i_RSAPublicKey_bio
(
BIO
*
bp
,
RSA
*
*
rsa
)
{
return
((
RSA
*
)
ASN1_d2i_bio
((
char
*
(
*
)())
RSA_new
,(
char
*
(
*
)())
d2i_RSAPublicKey
,
(
bp
),
...
...
@@ -318,7 +318,7 @@ int i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa)
#ifndef NO_DSA
#ifndef NO_FP_API
DSA
*
d2i_DSAPrivateKey_fp
(
FILE
*
fp
,
DSA
*
dsa
)
DSA
*
d2i_DSAPrivateKey_fp
(
FILE
*
fp
,
DSA
*
*
dsa
)
{
return
((
DSA
*
)
ASN1_d2i_fp
((
char
*
(
*
)())
DSA_new
,(
char
*
(
*
)())
d2i_DSAPrivateKey
,
(
fp
),
...
...
@@ -331,7 +331,7 @@ int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa)
}
#endif
DSA
*
d2i_DSAPrivateKey_bio
(
BIO
*
bp
,
DSA
*
dsa
)
DSA
*
d2i_DSAPrivateKey_bio
(
BIO
*
bp
,
DSA
*
*
dsa
)
{
return
((
DSA
*
)
ASN1_d2i_bio
((
char
*
(
*
)())
DSA_new
,(
char
*
(
*
)())
d2i_DSAPrivateKey
,
(
bp
),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录