Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
9becf666
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
9 个月 前同步成功
通知
8
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,体验更适合开发者的 AI 搜索 >>
提交
9becf666
编写于
2月 13, 1999
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Oops... add other changes this time too.
上级
e2d795cb
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
64 addition
and
0 deletion
+64
-0
CHANGES
CHANGES
+6
-0
Configure
Configure
+58
-0
未找到文件。
CHANGES
浏览文件 @
9becf666
...
@@ -5,6 +5,12 @@
...
@@ -5,6 +5,12 @@
Changes between 0.9.1c and 0.9.2
Changes between 0.9.1c and 0.9.2
*) Modify configure script 'Configure' to automatically create crypto/date.h
file under Win32 and also build pem.h from pem.org. New script
util/mkfiles.pl to create the MINFO file on environments that can't do a
'make files': perl util/mkfiles.pl >MINFO should work.
[Steve Henson]
*) Major rework of DES function declarations, in the pursuit of correctness
*) Major rework of DES function declarations, in the pursuit of correctness
and purity. As a result, many evil casts evaporated, and some weirdness,
and purity. As a result, many evil casts evaporated, and some weirdness,
too. You may find this causes warnings in your code. Zapping your evil
too. You may find this causes warnings in your code. Zapping your evil
...
...
Configure
浏览文件 @
9becf666
...
@@ -225,6 +225,20 @@ my %table=(
...
@@ -225,6 +225,20 @@ my %table=(
"
OpenBSD-mips
","
gcc:-O2 -DL_ENDIAN:BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC2 DES_PTR BF_PTR::::
",
"
OpenBSD-mips
","
gcc:-O2 -DL_ENDIAN:BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC2 DES_PTR BF_PTR::::
",
);
);
# Miscellaneous hacks: this is designed to allow environments where the "one
# makefile" option does not auto build all files.
# The first six fields are the hard coded versions of the stuff generated by
# ctx_size for pem.h: that is EVP_ENCODE_CTX_SIZE, EVP_MD_SIZE EVP_MD_CTX_SIZE,
# EVP_CIPHER_SIZE, EVP_CIPHER_CTX_SIZE and EVP_MAX_MD_SIZE respectively.
# If the seventh field is 1 then auto generate
# crypto/date.h
# Need to add Win16 and others here.
my
%misc_table
=
(
"
VC-WIN32
",
"
96:60:152:40:4212:20:1
",
"
VC-NT
",
"
96:60:152:40:4212:20:1
"
);
my
$no_asm
=
0
;
my
$no_asm
=
0
;
my
$postfix
=
"
org
";
my
$postfix
=
"
org
";
my
$Makefile
=
"
Makefile.ssl
";
my
$Makefile
=
"
Makefile.ssl
";
...
@@ -575,6 +589,50 @@ close(OUT);
...
@@ -575,6 +589,50 @@ close(OUT);
&Rename
(
$bf
,
&file_old
(
$bf
));
&Rename
(
$bf
,
&file_old
(
$bf
));
&Rename
(
$n
,
$bf
);
&Rename
(
$n
,
$bf
);
# Now the miscellaneous fixups
if
(
defined
$misc_table
{
$target
})
{
my
(
$enc_ctx
,
$md_size
,
$md_ctx_size
,
$cipher_size
,
$cipher_ctx_size
,
$max_md_size
,
$date_fix
)
=
split
(
/\s*:\s*/
,
$misc_table
{
$target
}
.
"
:
",
-
1
);
#print "EVP_ENCODE_CTX_SIZE $enc_ctx\n";
#print "EVP_MD_SIZE $md_size\n";
#print "EVP_MD_CTX_SIZE $md_ctx_size\n";
#print "EVP_CIPHER_SIZE $cipher_size\n";
#print "EVP_CIPHER_CTX_SIZE $cipher_ctx_size\n";
#print "EVP_MAX_MD_SIZE $max_md_size\n";
#printf "Date fix: %s\n", $date_fix ? "Yes" : "No";
# Fix the date
if
(
$date_fix
)
{
open
(
OUT
,"
>crypto/date.h
")
||
die
"
Can't open date.h
";
printf
OUT
"
#define DATE
\"
%s
\"\n
",
scalar
gmtime
();
close
(
OUT
);
}
open
(
IN
,
"
crypto/pem/pem.org
")
||
die
"
Can't open crypto/pem/pem.org
";
open
(
OUT
,
"
>crypto/pem/pem.h
")
||
die
"
Can't create crypto/pem/pem.h
";
# Now fix up pem.h
while
(
<
IN
>
)
{
chop
;
s/^(#define EVP_ENCODE_CTX_SIZE).*$/$1 $enc_ctx/
;
s/^(#define EVP_MD_SIZE).*$/$1 $md_size/
;
s/^(#define EVP_MD_CTX_SIZE).*$/$1 $md_ctx_size/
;
s/^(#define EVP_CIPHER_SIZE).*$/$1 $cipher_size/
;
s/^(#define EVP_CIPHER_CTX_SIZE).*$/$1 $cipher_ctx_size/
;
s/^(#define EVP_MAX_MD_SIZE).*$/$1 $max_md_size/
;
print
OUT
"
$_
\n
";
}
close
(
IN
);
close
(
OUT
);
}
print
"
SIXTY_FOUR_BIT_LONG mode
\n
"
if
$b64l
;
print
"
SIXTY_FOUR_BIT_LONG mode
\n
"
if
$b64l
;
print
"
SIXTY_FOUR_BIT mode
\n
"
if
$b64
;
print
"
SIXTY_FOUR_BIT mode
\n
"
if
$b64
;
print
"
THIRTY_TWO_BIT mode
\n
"
if
$b32
;
print
"
THIRTY_TWO_BIT mode
\n
"
if
$b32
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录