Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
14daae5a
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,发现更多精彩内容 >>
提交
14daae5a
编写于
2月 04, 2015
作者:
M
Matt Caswell
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Move ssl3_record_sequence_update into record layer
Reviewed-by:
N
Richard Levitte
<
levitte@openssl.org
>
上级
24a1e2f2
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
13 addition
and
15 deletion
+13
-15
ssl/record/rec_layer.h
ssl/record/rec_layer.h
+2
-2
ssl/record/s3_pkt.c
ssl/record/s3_pkt.c
+11
-0
ssl/s3_enc.c
ssl/s3_enc.c
+0
-11
ssl/ssl_locl.h
ssl/ssl_locl.h
+0
-2
未找到文件。
ssl/record/rec_layer.h
浏览文件 @
14daae5a
...
@@ -260,7 +260,7 @@ int DTLS_RECORD_LAYER_new(RECORD_LAYER *rl);
...
@@ -260,7 +260,7 @@ int DTLS_RECORD_LAYER_new(RECORD_LAYER *rl);
void
DTLS_RECORD_LAYER_free
(
RECORD_LAYER
*
rl
);
void
DTLS_RECORD_LAYER_free
(
RECORD_LAYER
*
rl
);
void
DTLS_RECORD_LAYER_clear
(
RECORD_LAYER
*
rl
);
void
DTLS_RECORD_LAYER_clear
(
RECORD_LAYER
*
rl
);
__owur
int
dtls1_read_bytes
(
SSL
*
s
,
int
type
,
unsigned
char
*
buf
,
int
len
,
int
peek
);
__owur
int
dtls1_read_bytes
(
SSL
*
s
,
int
type
,
unsigned
char
*
buf
,
int
len
,
int
peek
);
int
dtls1_write_bytes
(
SSL
*
s
,
int
type
,
const
void
*
buf
,
int
len
);
__owur
int
dtls1_write_bytes
(
SSL
*
s
,
int
type
,
const
void
*
buf
,
int
len
);
__owur
int
do_dtls1_write
(
SSL
*
s
,
int
type
,
const
unsigned
char
*
buf
,
__owur
int
do_dtls1_write
(
SSL
*
s
,
int
type
,
const
unsigned
char
*
buf
,
unsigned
int
len
,
int
create_empty_fragement
);
unsigned
int
len
,
int
create_empty_fragement
);
void
dtls1_reset_seq_numbers
(
SSL
*
s
,
int
rw
);
void
dtls1_reset_seq_numbers
(
SSL
*
s
,
int
rw
);
...
@@ -292,4 +292,4 @@ int dtls1_process_buffered_records(SSL *s);
...
@@ -292,4 +292,4 @@ int dtls1_process_buffered_records(SSL *s);
int
dtls1_retrieve_buffered_record
(
SSL
*
s
,
record_pqueue
*
queue
);
int
dtls1_retrieve_buffered_record
(
SSL
*
s
,
record_pqueue
*
queue
);
int
dtls1_buffer_record
(
SSL
*
s
,
record_pqueue
*
q
,
int
dtls1_buffer_record
(
SSL
*
s
,
record_pqueue
*
q
,
unsigned
char
*
priority
);
unsigned
char
*
priority
);
void
ssl3_record_sequence_update
(
unsigned
char
*
seq
);
ssl/record/s3_pkt.c
浏览文件 @
14daae5a
...
@@ -1445,4 +1445,15 @@ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
...
@@ -1445,4 +1445,15 @@ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
return
(
-
1
);
return
(
-
1
);
}
}
void
ssl3_record_sequence_update
(
unsigned
char
*
seq
)
{
int
i
;
for
(
i
=
7
;
i
>=
0
;
i
--
)
{
++
seq
[
i
];
if
(
seq
[
i
]
!=
0
)
break
;
}
}
ssl/s3_enc.c
浏览文件 @
14daae5a
...
@@ -638,17 +638,6 @@ static int ssl3_handshake_mac(SSL *s, int md_nid,
...
@@ -638,17 +638,6 @@ static int ssl3_handshake_mac(SSL *s, int md_nid,
return
((
int
)
ret
);
return
((
int
)
ret
);
}
}
void
ssl3_record_sequence_update
(
unsigned
char
*
seq
)
{
int
i
;
for
(
i
=
7
;
i
>=
0
;
i
--
)
{
++
seq
[
i
];
if
(
seq
[
i
]
!=
0
)
break
;
}
}
int
ssl3_generate_master_secret
(
SSL
*
s
,
unsigned
char
*
out
,
unsigned
char
*
p
,
int
ssl3_generate_master_secret
(
SSL
*
s
,
unsigned
char
*
out
,
unsigned
char
*
p
,
int
len
)
int
len
)
{
{
...
...
ssl/ssl_locl.h
浏览文件 @
14daae5a
...
@@ -2049,7 +2049,6 @@ __owur long ssl3_ctx_ctrl(SSL_CTX *s, int cmd, long larg, void *parg);
...
@@ -2049,7 +2049,6 @@ __owur long ssl3_ctx_ctrl(SSL_CTX *s, int cmd, long larg, void *parg);
__owur
long
ssl3_callback_ctrl
(
SSL
*
s
,
int
cmd
,
void
(
*
fp
)
(
void
));
__owur
long
ssl3_callback_ctrl
(
SSL
*
s
,
int
cmd
,
void
(
*
fp
)
(
void
));
__owur
long
ssl3_ctx_callback_ctrl
(
SSL_CTX
*
s
,
int
cmd
,
void
(
*
fp
)
(
void
));
__owur
long
ssl3_ctx_callback_ctrl
(
SSL_CTX
*
s
,
int
cmd
,
void
(
*
fp
)
(
void
));
void
ssl3_record_sequence_update
(
unsigned
char
*
seq
);
__owur
int
ssl3_do_change_cipher_spec
(
SSL
*
ssl
);
__owur
int
ssl3_do_change_cipher_spec
(
SSL
*
ssl
);
__owur
long
ssl3_default_timeout
(
void
);
__owur
long
ssl3_default_timeout
(
void
);
...
@@ -2076,7 +2075,6 @@ void dtls1_set_message_header(SSL *s,
...
@@ -2076,7 +2075,6 @@ void dtls1_set_message_header(SSL *s,
unsigned
long
frag_len
);
unsigned
long
frag_len
);
__owur
int
dtls1_write_app_data_bytes
(
SSL
*
s
,
int
type
,
const
void
*
buf
,
int
len
);
__owur
int
dtls1_write_app_data_bytes
(
SSL
*
s
,
int
type
,
const
void
*
buf
,
int
len
);
__owur
int
dtls1_write_bytes
(
SSL
*
s
,
int
type
,
const
void
*
buf
,
int
len
);
__owur
int
dtls1_send_change_cipher_spec
(
SSL
*
s
,
int
a
,
int
b
);
__owur
int
dtls1_send_change_cipher_spec
(
SSL
*
s
,
int
a
,
int
b
);
__owur
int
dtls1_send_finished
(
SSL
*
s
,
int
a
,
int
b
,
const
char
*
sender
,
int
slen
);
__owur
int
dtls1_send_finished
(
SSL
*
s
,
int
a
,
int
b
,
const
char
*
sender
,
int
slen
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录