Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
b9b0a177
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看板
提交
b9b0a177
编写于
5月 15, 2011
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
new flag to stop ENGINE methods being registered
上级
9609ea86
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
1 deletion
+10
-1
crypto/engine/eng_fat.c
crypto/engine/eng_fat.c
+2
-1
crypto/engine/engine.h
crypto/engine/engine.h
+7
-0
engines/e_capi.c
engines/e_capi.c
+1
-0
未找到文件。
crypto/engine/eng_fat.c
浏览文件 @
b9b0a177
...
...
@@ -176,6 +176,7 @@ int ENGINE_register_all_complete(void)
ENGINE
*
e
;
for
(
e
=
ENGINE_get_first
()
;
e
;
e
=
ENGINE_get_next
(
e
))
ENGINE_register_complete
(
e
);
if
(
!
(
e
->
flags
&
ENGINE_FLAGS_NO_REGISTER_ALL
))
ENGINE_register_complete
(
e
);
return
1
;
}
crypto/engine/engine.h
浏览文件 @
b9b0a177
...
...
@@ -141,6 +141,13 @@ extern "C" {
* the existing ENGINE's structural reference count. */
#define ENGINE_FLAGS_BY_ID_COPY (int)0x0004
/* This flag if for an ENGINE that does not want its methods registered as
* part of ENGINE_register_all_complete() for example if the methods are
* not usable as default methods.
*/
#define ENGINE_FLAGS_NO_REGISTER_ALL (int)0x0008
/* ENGINEs can support their own command types, and these flags are used in
* ENGINE_CTRL_GET_CMD_FLAGS to indicate to the caller what kind of input each
* command expects. Currently only numeric and string input is supported. If a
...
...
engines/e_capi.c
浏览文件 @
b9b0a177
...
...
@@ -527,6 +527,7 @@ static int bind_capi(ENGINE *e)
{
if
(
!
ENGINE_set_id
(
e
,
engine_capi_id
)
||
!
ENGINE_set_name
(
e
,
engine_capi_name
)
||
!
ENGINE_set_flags
(
e
,
ENGINE_FLAGS_NO_REGISTER_ALL
)
||
!
ENGINE_set_init_function
(
e
,
capi_init
)
||
!
ENGINE_set_finish_function
(
e
,
capi_finish
)
||
!
ENGINE_set_destroy_function
(
e
,
capi_destroy
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录