Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
e34cfcf7
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
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看板
提交
e34cfcf7
编写于
3月 09, 2001
作者:
B
Bodo Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Consistently use 'void *' for SSL read, peek and write functions.
上级
13588350
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
16 addition
and
16 deletion
+16
-16
doc/ssl/SSL_read.pod
doc/ssl/SSL_read.pod
+1
-1
doc/ssl/SSL_write.pod
doc/ssl/SSL_write.pod
+1
-1
doc/ssl/ssl.pod
doc/ssl/ssl.pod
+3
-3
ssl/s2_pkt.c
ssl/s2_pkt.c
+1
-1
ssl/s3_lib.c
ssl/s3_lib.c
+1
-1
ssl/ssl.h
ssl/ssl.h
+4
-4
ssl/ssl_lib.c
ssl/ssl_lib.c
+3
-3
ssl/ssl_locl.h
ssl/ssl_locl.h
+2
-2
未找到文件。
doc/ssl/SSL_read.pod
浏览文件 @
e34cfcf7
...
...
@@ -8,7 +8,7 @@ SSL_read - read bytes from a TLS/SSL connection.
#include <openssl/ssl.h>
int SSL_read(SSL *ssl,
char
*buf, int num);
int SSL_read(SSL *ssl,
void
*buf, int num);
=head1 DESCRIPTION
...
...
doc/ssl/SSL_write.pod
浏览文件 @
e34cfcf7
...
...
@@ -8,7 +8,7 @@ SSL_write - write bytes to a TLS/SSL connection.
#include <openssl/ssl.h>
int SSL_write(SSL *ssl, c
har
*buf, int num);
int SSL_write(SSL *ssl, c
onst void
*buf, int num);
=head1 DESCRIPTION
...
...
doc/ssl/ssl.pod
浏览文件 @
e34cfcf7
...
...
@@ -544,11 +544,11 @@ connection defined in the B<SSL> structure.
=item long B<SSL_num_renegotiations>(SSL *ssl);
=item int B<SSL_peek>(SSL *ssl,
char
*buf, int num);
=item int B<SSL_peek>(SSL *ssl,
void
*buf, int num);
=item int B<SSL_pending>(SSL *ssl);
=item int B<SSL_read>(SSL *ssl,
char
*buf, int num);
=item int B<SSL_read>(SSL *ssl,
void
*buf, int num);
=item int B<SSL_renegotiate>(SSL *ssl);
...
...
@@ -640,7 +640,7 @@ connection defined in the B<SSL> structure.
=item int B<SSL_want_x509_lookup>(s);
=item int B<SSL_write>(SSL *ssl, c
har
*buf, int num);
=item int B<SSL_write>(SSL *ssl, c
onst void
*buf, int num);
=back
...
...
ssl/s2_pkt.c
浏览文件 @
e34cfcf7
...
...
@@ -300,7 +300,7 @@ int ssl2_read(SSL *s, void *buf, int len)
return
ssl2_read_internal
(
s
,
buf
,
len
,
0
);
}
int
ssl2_peek
(
SSL
*
s
,
char
*
buf
,
int
len
)
int
ssl2_peek
(
SSL
*
s
,
void
*
buf
,
int
len
)
{
return
ssl2_read_internal
(
s
,
buf
,
len
,
1
);
}
...
...
ssl/s3_lib.c
浏览文件 @
e34cfcf7
...
...
@@ -1615,7 +1615,7 @@ int ssl3_read(SSL *s, void *buf, int len)
return
ssl3_read_internal
(
s
,
buf
,
len
,
0
);
}
int
ssl3_peek
(
SSL
*
s
,
char
*
buf
,
int
len
)
int
ssl3_peek
(
SSL
*
s
,
void
*
buf
,
int
len
)
{
return
ssl3_read_internal
(
s
,
buf
,
len
,
1
);
}
...
...
ssl/ssl.h
浏览文件 @
e34cfcf7
...
...
@@ -226,7 +226,7 @@ typedef struct ssl_method_st
int
(
*
ssl_accept
)(
SSL
*
s
);
int
(
*
ssl_connect
)(
SSL
*
s
);
int
(
*
ssl_read
)(
SSL
*
s
,
void
*
buf
,
int
len
);
int
(
*
ssl_peek
)(
SSL
*
s
,
char
*
buf
,
int
len
);
int
(
*
ssl_peek
)(
SSL
*
s
,
void
*
buf
,
int
len
);
int
(
*
ssl_write
)(
SSL
*
s
,
const
void
*
buf
,
int
len
);
int
(
*
ssl_shutdown
)(
SSL
*
s
);
int
(
*
ssl_renegotiate
)(
SSL
*
s
);
...
...
@@ -1102,9 +1102,9 @@ int SSL_set_trust(SSL *s, int trust);
void
SSL_free
(
SSL
*
ssl
);
int
SSL_accept
(
SSL
*
ssl
);
int
SSL_connect
(
SSL
*
ssl
);
int
SSL_read
(
SSL
*
ssl
,
char
*
buf
,
int
num
);
int
SSL_peek
(
SSL
*
ssl
,
char
*
buf
,
int
num
);
int
SSL_write
(
SSL
*
ssl
,
const
char
*
buf
,
int
num
);
int
SSL_read
(
SSL
*
ssl
,
void
*
buf
,
int
num
);
int
SSL_peek
(
SSL
*
ssl
,
void
*
buf
,
int
num
);
int
SSL_write
(
SSL
*
ssl
,
const
void
*
buf
,
int
num
);
long
SSL_ctrl
(
SSL
*
ssl
,
int
cmd
,
long
larg
,
char
*
parg
);
long
SSL_callback_ctrl
(
SSL
*
,
int
,
void
(
*
)());
long
SSL_CTX_ctrl
(
SSL_CTX
*
ctx
,
int
cmd
,
long
larg
,
char
*
parg
);
...
...
ssl/ssl_lib.c
浏览文件 @
e34cfcf7
...
...
@@ -766,7 +766,7 @@ long SSL_get_default_timeout(SSL *s)
return
(
s
->
method
->
get_timeout
());
}
int
SSL_read
(
SSL
*
s
,
char
*
buf
,
int
num
)
int
SSL_read
(
SSL
*
s
,
void
*
buf
,
int
num
)
{
if
(
s
->
handshake_func
==
0
)
{
...
...
@@ -782,7 +782,7 @@ int SSL_read(SSL *s,char *buf,int num)
return
(
s
->
method
->
ssl_read
(
s
,
buf
,
num
));
}
int
SSL_peek
(
SSL
*
s
,
char
*
buf
,
int
num
)
int
SSL_peek
(
SSL
*
s
,
void
*
buf
,
int
num
)
{
if
(
s
->
handshake_func
==
0
)
{
...
...
@@ -797,7 +797,7 @@ int SSL_peek(SSL *s,char *buf,int num)
return
(
s
->
method
->
ssl_peek
(
s
,
buf
,
num
));
}
int
SSL_write
(
SSL
*
s
,
const
char
*
buf
,
int
num
)
int
SSL_write
(
SSL
*
s
,
const
void
*
buf
,
int
num
)
{
if
(
s
->
handshake_func
==
0
)
{
...
...
ssl/ssl_locl.h
浏览文件 @
e34cfcf7
...
...
@@ -526,7 +526,7 @@ void ssl2_free(SSL *s);
int
ssl2_accept
(
SSL
*
s
);
int
ssl2_connect
(
SSL
*
s
);
int
ssl2_read
(
SSL
*
s
,
void
*
buf
,
int
len
);
int
ssl2_peek
(
SSL
*
s
,
char
*
buf
,
int
len
);
int
ssl2_peek
(
SSL
*
s
,
void
*
buf
,
int
len
);
int
ssl2_write
(
SSL
*
s
,
const
void
*
buf
,
int
len
);
int
ssl2_shutdown
(
SSL
*
s
);
void
ssl2_clear
(
SSL
*
s
);
...
...
@@ -574,7 +574,7 @@ void ssl3_free(SSL *s);
int
ssl3_accept
(
SSL
*
s
);
int
ssl3_connect
(
SSL
*
s
);
int
ssl3_read
(
SSL
*
s
,
void
*
buf
,
int
len
);
int
ssl3_peek
(
SSL
*
s
,
char
*
buf
,
int
len
);
int
ssl3_peek
(
SSL
*
s
,
void
*
buf
,
int
len
);
int
ssl3_write
(
SSL
*
s
,
const
void
*
buf
,
int
len
);
int
ssl3_shutdown
(
SSL
*
s
);
void
ssl3_clear
(
SSL
*
s
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录