Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
f8c3c05d
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 搜索 >>
提交
f8c3c05d
编写于
1月 06, 1999
作者:
B
Ben Laurie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make the world a safer place (if people object to this kind of change, speak up
soon - I intend to do a lot of it!).
上级
384c479c
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
4 deletion
+13
-4
CHANGES
CHANGES
+4
-0
ssl/ssl.h
ssl/ssl.h
+3
-4
ssl/ssl_lib.c
ssl/ssl_lib.c
+6
-0
未找到文件。
CHANGES
浏览文件 @
f8c3c05d
...
@@ -5,6 +5,10 @@
...
@@ -5,6 +5,10 @@
Changes between 0.9.1c and 0.9.2
Changes between 0.9.1c and 0.9.2
*) Add prototype for temp key callback functions
SSL_CTX_set_tmp_{rsa,dh}_callback().
[Ben Laurie]
*) Make DH_free() tolerate being passed a NULL pointer (like RSA_free() and
*) Make DH_free() tolerate being passed a NULL pointer (like RSA_free() and
DSA_free()). Make X509_PUBKEY_set() check for errors in d2i_PublicKey().
DSA_free()). Make X509_PUBKEY_set() check for errors in d2i_PublicKey().
[Steve Henson]
[Steve Henson]
...
...
ssl/ssl.h
浏览文件 @
f8c3c05d
...
@@ -746,10 +746,9 @@ typedef struct ssl_st
...
@@ -746,10 +746,9 @@ typedef struct ssl_st
* RSA *tmp_rsa_cb(SSL *ssl,int export)
* RSA *tmp_rsa_cb(SSL *ssl,int export)
* DH *tmp_dh_cb(SSL *ssl,int export)
* DH *tmp_dh_cb(SSL *ssl,int export)
*/
*/
#define SSL_CTX_set_tmp_rsa_callback(ctx,cb) \
void
SSL_CTX_set_tmp_rsa_callback
(
SSL_CTX
*
ctx
,
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_RSA_CB,0,(char *)cb)
RSA
*
(
*
cb
)(
SSL
*
ssl
,
int
export
));
#define SSL_CTX_set_tmp_dh_callback(ctx,dh) \
void
SSL_CTX_set_tmp_dh_callback
(
SSL_CTX
*
ctx
,
DH
*
(
*
dh
)(
SSL
*
ssl
,
int
export
));
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH_CB,0,(char *)dh)
#define SSL_CTX_add_extra_chain_cert(ctx,x509) \
#define SSL_CTX_add_extra_chain_cert(ctx,x509) \
SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)x509)
SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)x509)
...
...
ssl/ssl_lib.c
浏览文件 @
f8c3c05d
...
@@ -1743,6 +1743,12 @@ SSL *s;
...
@@ -1743,6 +1743,12 @@ SSL *s;
return
(
1
);
return
(
1
);
}
}
void
SSL_CTX_set_tmp_rsa_callback
(
SSL_CTX
*
ctx
,
RSA
*
(
*
cb
)(
SSL
*
ssl
,
int
export
))
{
SSL_CTX_ctrl
(
ctx
,
SSL_CTRL_SET_TMP_RSA_CB
,
0
,(
char
*
)
cb
);
}
void
SSL_CTX_set_tmp_dh_callback
(
SSL_CTX
*
ctx
,
DH
*
(
*
dh
)(
SSL
*
ssl
,
int
export
))
{
SSL_CTX_ctrl
(
ctx
,
SSL_CTRL_SET_TMP_DH_CB
,
0
,(
char
*
)
dh
);
}
#if defined(_WINDLL) && defined(WIN16)
#if defined(_WINDLL) && defined(WIN16)
#include "../crypto/bio/bss_file.c"
#include "../crypto/bio/bss_file.c"
#endif
#endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录