Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
e65bcbce
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,发现更多精彩内容 >>
提交
e65bcbce
编写于
9月 14, 2008
作者:
B
Bodo Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix SSL state transitions.
Submitted by: Nagendra Modadugu
上级
e710de12
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
6 deletion
+10
-6
CHANGES
CHANGES
+4
-0
ssl/d1_srvr.c
ssl/d1_srvr.c
+3
-3
ssl/s3_srvr.c
ssl/s3_srvr.c
+3
-3
未找到文件。
CHANGES
浏览文件 @
e65bcbce
...
@@ -705,6 +705,10 @@
...
@@ -705,6 +705,10 @@
Changes between 0.9.8h and 0.9.8i [xx XXX xxxx]
Changes between 0.9.8h and 0.9.8i [xx XXX xxxx]
*) Fix a state transitition in s3_srvr.c and d1_srvr.c
(was using SSL3_ST_CW_CLNT_HELLO_B, should be ..._ST_SW_SRVR_...).
[Nagendra Modadugu]
*) The fix in 0.9.8c that supposedly got rid of unsafe
*) The fix in 0.9.8c that supposedly got rid of unsafe
double-checked locking was incomplete for RSA blinding,
double-checked locking was incomplete for RSA blinding,
addressing just one layer of what turns out to have been
addressing just one layer of what turns out to have been
...
...
ssl/d1_srvr.c
浏览文件 @
e65bcbce
...
@@ -725,7 +725,7 @@ int dtls1_send_server_hello(SSL *s)
...
@@ -725,7 +725,7 @@ int dtls1_send_server_hello(SSL *s)
d
=
dtls1_set_message_header
(
s
,
d
,
SSL3_MT_SERVER_HELLO
,
l
,
0
,
l
);
d
=
dtls1_set_message_header
(
s
,
d
,
SSL3_MT_SERVER_HELLO
,
l
,
0
,
l
);
s
->
state
=
SSL3_ST_
CW_CLNT
_HELLO_B
;
s
->
state
=
SSL3_ST_
SW_SRVR
_HELLO_B
;
/* number of bytes to write */
/* number of bytes to write */
s
->
init_num
=
p
-
buf
;
s
->
init_num
=
p
-
buf
;
s
->
init_off
=
0
;
s
->
init_off
=
0
;
...
@@ -734,7 +734,7 @@ int dtls1_send_server_hello(SSL *s)
...
@@ -734,7 +734,7 @@ int dtls1_send_server_hello(SSL *s)
dtls1_buffer_message
(
s
,
0
);
dtls1_buffer_message
(
s
,
0
);
}
}
/* SSL3_ST_
CW_CLNT
_HELLO_B */
/* SSL3_ST_
SW_SRVR
_HELLO_B */
return
(
dtls1_do_write
(
s
,
SSL3_RT_HANDSHAKE
));
return
(
dtls1_do_write
(
s
,
SSL3_RT_HANDSHAKE
));
}
}
...
@@ -758,7 +758,7 @@ int dtls1_send_server_done(SSL *s)
...
@@ -758,7 +758,7 @@ int dtls1_send_server_done(SSL *s)
dtls1_buffer_message
(
s
,
0
);
dtls1_buffer_message
(
s
,
0
);
}
}
/* SSL3_ST_
CW_CLNT_HELLO
_B */
/* SSL3_ST_
SW_SRVR_DONE
_B */
return
(
dtls1_do_write
(
s
,
SSL3_RT_HANDSHAKE
));
return
(
dtls1_do_write
(
s
,
SSL3_RT_HANDSHAKE
));
}
}
...
...
ssl/s3_srvr.c
浏览文件 @
e65bcbce
...
@@ -1208,13 +1208,13 @@ int ssl3_send_server_hello(SSL *s)
...
@@ -1208,13 +1208,13 @@ int ssl3_send_server_hello(SSL *s)
*
(
d
++
)
=
SSL3_MT_SERVER_HELLO
;
*
(
d
++
)
=
SSL3_MT_SERVER_HELLO
;
l2n3
(
l
,
d
);
l2n3
(
l
,
d
);
s
->
state
=
SSL3_ST_
C
W_CLNT_HELLO_B
;
s
->
state
=
SSL3_ST_
S
W_CLNT_HELLO_B
;
/* number of bytes to write */
/* number of bytes to write */
s
->
init_num
=
p
-
buf
;
s
->
init_num
=
p
-
buf
;
s
->
init_off
=
0
;
s
->
init_off
=
0
;
}
}
/* SSL3_ST_
C
W_CLNT_HELLO_B */
/* SSL3_ST_
S
W_CLNT_HELLO_B */
return
(
ssl3_do_write
(
s
,
SSL3_RT_HANDSHAKE
));
return
(
ssl3_do_write
(
s
,
SSL3_RT_HANDSHAKE
));
}
}
...
@@ -1238,7 +1238,7 @@ int ssl3_send_server_done(SSL *s)
...
@@ -1238,7 +1238,7 @@ int ssl3_send_server_done(SSL *s)
s
->
init_off
=
0
;
s
->
init_off
=
0
;
}
}
/* SSL3_ST_
CW_CLNT_HELLO
_B */
/* SSL3_ST_
SW_SRVR_DONE
_B */
return
(
ssl3_do_write
(
s
,
SSL3_RT_HANDSHAKE
));
return
(
ssl3_do_write
(
s
,
SSL3_RT_HANDSHAKE
));
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录