Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
4c5fac4a
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4c5fac4a
编写于
2月 24, 2000
作者:
U
Ulf Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix NO_RSA (misplaced #endif).
上级
390ead1e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
23 addition
and
4 deletion
+23
-4
ssl/s23_srvr.c
ssl/s23_srvr.c
+4
-1
ssl/s3_srvr.c
ssl/s3_srvr.c
+1
-1
ssl/ssl_lib.c
ssl/ssl_lib.c
+2
-0
util/selftest.pl
util/selftest.pl
+16
-2
未找到文件。
ssl/s23_srvr.c
浏览文件 @
4c5fac4a
...
...
@@ -206,8 +206,11 @@ int ssl23_get_client_hello(SSL *s)
unsigned
int
i
;
unsigned
int
csl
,
sil
,
cl
;
int
n
=
0
,
j
;
int
type
=
0
,
use_sslv2_strong
=
0
;
int
type
=
0
;
int
v
[
2
];
#ifndef NO_RSA
int
use_sslv2_strong
=
0
;
#endif
if
(
s
->
state
==
SSL23_ST_SR_CLNT_HELLO_A
)
{
...
...
ssl/s3_srvr.c
浏览文件 @
4c5fac4a
...
...
@@ -1326,7 +1326,6 @@ static int ssl3_get_client_key_exchange(SSL *s)
SSLerr
(
SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE
,
SSL_R_BAD_PROTOCOL_VERSION_NUMBER
);
goto
f_err
;
}
#endif
s
->
session
->
master_key_length
=
s
->
method
->
ssl3_enc
->
generate_master_secret
(
s
,
...
...
@@ -1335,6 +1334,7 @@ static int ssl3_get_client_key_exchange(SSL *s)
memset
(
p
,
0
,
i
);
}
else
#endif
#ifndef NO_DH
if
(
l
&
(
SSL_kEDH
|
SSL_kDHr
|
SSL_kDHd
))
{
...
...
ssl/ssl_lib.c
浏览文件 @
4c5fac4a
...
...
@@ -81,11 +81,13 @@ OPENSSL_GLOBAL SSL3_ENC_METHOD ssl3_undef_enc_method={
(
int
(
*
)(
SSL
*
,
EVP_MD_CTX
*
,
EVP_MD_CTX
*
,
const
char
*
,
int
,
unsigned
char
*
))
ssl_undefined_function
};
#ifndef NO_RSA
union
rsa_fn_to_char_u
{
char
*
char_p
;
RSA
*
(
*
fn_p
)(
SSL
*
,
int
,
int
);
};
#endif
union
dh_fn_to_char_u
{
...
...
util/selftest.pl
浏览文件 @
4c5fac4a
...
...
@@ -25,6 +25,7 @@ open(OUT,">$report") or die;
print
OUT
"
OpenSSL self-test report:
\n\n
";
$uname
=
`
uname -a
`;
$uname
=
"
??
"
if
$uname
eq
"";
$c
=
`
sh config -t
`;
foreach
$_
(
split
("
\n
",
$c
))
{
...
...
@@ -48,6 +49,7 @@ if (open(IN,"<Makefile.ssl")) {
$cversion
=
`
$cc
-v 2>&1
`;
$cversion
=
`
$cc
-V 2>&1
`
if
$cversion
=~
"
usage
";
$cversion
=
`
$cc
--version
`
if
$cversion
eq
"";
$cversion
=~
s/Reading specs.*\n//
;
$cversion
=~
s/usage.*\n//
;
chomp
$cversion
;
...
...
@@ -64,6 +66,7 @@ if (open(IN,"<CHANGES")) {
print
OUT
"
OpenSSL version:
$version
\n
";
print
OUT
"
Last change:
$last
...
\n
";
print
OUT
"
Options:
$options
\n
"
if
$options
ne
"";
print
OUT
"
OS (uname):
$uname
";
print
OUT
"
OS (config):
$os
\n
";
print
OUT
"
Target (default):
$platform0
\n
";
...
...
@@ -117,6 +120,14 @@ if (system("make 2>&1 | tee make.log") > 255) {
goto
err
;
}
$_
=
$options
;
s/no-asm//
;
if
(
/no-/
)
{
print
OUT
"
Test skipped.
\n
";
goto
err
;
}
print
"
Running make test...
\n
";
if
(
system
("
make test 2>&1 | tee make.log
")
>
255
)
{
...
...
@@ -153,8 +164,11 @@ close(OUT);
print
"
\n
";
open
(
IN
,"
<
$report
")
or
die
;
while
(
<
IN
>
)
{
last
if
/$sep/
;
if
(
/$sep/
)
{
print
"
[...]
\n
";
last
;
}
print
;
}
print
"
Test report in file
$report
\n
";
print
"
\n
Test report in file
$report
\n
";
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录