Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
91895a59
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看板
提交
91895a59
编写于
11月 16, 1999
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix for a bug in PKCS#7 code and non-detached data.
Remove rc4-64 from ciphers since it doesn't exist...
上级
6d1b637b
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
5 deletion
+8
-5
CHANGES
CHANGES
+5
-0
apps/progs.h
apps/progs.h
+0
-3
apps/progs.pl
apps/progs.pl
+1
-1
crypto/pkcs7/pk7_doit.c
crypto/pkcs7/pk7_doit.c
+2
-1
未找到文件。
CHANGES
浏览文件 @
91895a59
...
@@ -4,6 +4,11 @@
...
@@ -4,6 +4,11 @@
Changes between 0.9.4 and 0.9.5 [xx XXX 1999]
Changes between 0.9.4 and 0.9.5 [xx XXX 1999]
*) Fix a bug in the new PKCS#7 code: it didn't consider the
case in PKCS7_dataInit() where the signed PKCS7 structure
didn't contain any existing data because it was being created.
[Po-Cheng Chen" <pocheng@nst.com.tw>, slightly modified by Steve Henson]
*) Add a salt to the key derivation routines in enc.c. This
*) Add a salt to the key derivation routines in enc.c. This
forms the first 8 bytes of the encrypted file. Also add a
forms the first 8 bytes of the encrypted file. Also add a
-S option to allow a salt to be input on the command line.
-S option to allow a salt to be input on the command line.
...
...
apps/progs.h
浏览文件 @
91895a59
...
@@ -118,9 +118,6 @@ FUNCTION functions[] = {
...
@@ -118,9 +118,6 @@ FUNCTION functions[] = {
#ifndef NO_RC4
#ifndef NO_RC4
{
FUNC_TYPE_CIPHER
,
"rc4"
,
enc_main
},
{
FUNC_TYPE_CIPHER
,
"rc4"
,
enc_main
},
#endif
#endif
#ifndef NO_RC4
{
FUNC_TYPE_CIPHER
,
"rc4-64"
,
enc_main
},
#endif
#ifndef NO_RC4
#ifndef NO_RC4
{
FUNC_TYPE_CIPHER
,
"rc4-40"
,
enc_main
},
{
FUNC_TYPE_CIPHER
,
"rc4-40"
,
enc_main
},
#endif
#endif
...
...
apps/progs.pl
浏览文件 @
91895a59
...
@@ -50,7 +50,7 @@ foreach ("md2","md5","sha","sha1","mdc2","rmd160")
...
@@ -50,7 +50,7 @@ foreach ("md2","md5","sha","sha1","mdc2","rmd160")
foreach
(
foreach
(
"
base64
",
"
base64
",
"
des
",
"
des3
",
"
desx
",
"
idea
",
"
rc4
",
"
rc4-
64
",
"
rc4-
40
",
"
des
",
"
des3
",
"
desx
",
"
idea
",
"
rc4
",
"
rc4-40
",
"
rc2
",
"
bf
",
"
cast
",
"
rc5
",
"
rc2
",
"
bf
",
"
cast
",
"
rc5
",
"
des-ecb
",
"
des-ede
",
"
des-ede3
",
"
des-ecb
",
"
des-ede
",
"
des-ede3
",
"
des-cbc
",
"
des-ede-cbc
","
des-ede3-cbc
",
"
des-cbc
",
"
des-ede-cbc
","
des-ede3-cbc
",
...
...
crypto/pkcs7/pk7_doit.c
浏览文件 @
91895a59
...
@@ -226,7 +226,8 @@ BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio)
...
@@ -226,7 +226,8 @@ BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio)
os
=
p7
->
d
.
sign
->
contents
->
d
.
data
;
os
=
p7
->
d
.
sign
->
contents
->
d
.
data
;
if
(
os
->
length
>
0
)
bio
=
if
(
os
->
length
>
0
)
bio
=
BIO_new_mem_buf
(
os
->
data
,
os
->
length
);
BIO_new_mem_buf
(
os
->
data
,
os
->
length
);
}
else
{
}
if
(
bio
==
NULL
)
{
bio
=
BIO_new
(
BIO_s_mem
());
bio
=
BIO_new
(
BIO_s_mem
());
BIO_set_mem_eof_return
(
bio
,
0
);
BIO_set_mem_eof_return
(
bio
,
0
);
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录