Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
75a382bd
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,发现更多精彩内容 >>
提交
75a382bd
编写于
10月 08, 2000
作者:
G
Geoff Thorpe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
None of the DSO_METHOD's were handling anything except generic messages.
These are now processed inside DSO_ctrl() itself.
上级
5b0a0544
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
104 deletion
+8
-104
crypto/dso/dso_dl.c
crypto/dso/dso_dl.c
+2
-26
crypto/dso/dso_dlfcn.c
crypto/dso/dso_dlfcn.c
+2
-26
crypto/dso/dso_vms.c
crypto/dso/dso_vms.c
+2
-26
crypto/dso/dso_win32.c
crypto/dso/dso_win32.c
+2
-26
未找到文件。
crypto/dso/dso_dl.c
浏览文件 @
75a382bd
...
...
@@ -81,8 +81,8 @@ static int dl_unbind_var(DSO *dso, char *symname, void *symptr);
static int dl_unbind_func(DSO *dso, char *symname, DSO_FUNC_TYPE symptr);
static int dl_init(DSO *dso);
static int dl_finish(DSO *dso);
#endif
static int dl_ctrl(DSO *dso, int cmd, long larg, void *parg);
#endif
static
DSO_METHOD
dso_meth_dl
=
{
"OpenSSL 'dl' shared library method"
,
...
...
@@ -95,7 +95,7 @@ static DSO_METHOD dso_meth_dl = {
NULL, /* unbind_var */
NULL, /* unbind_func */
#endif
dl_ctrl
,
NULL
,
/* ctrl */
NULL
,
/* init */
NULL
/* finish */
};
...
...
@@ -224,28 +224,4 @@ static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname)
return
((
DSO_FUNC_TYPE
)
sym
);
}
static
int
dl_ctrl
(
DSO
*
dso
,
int
cmd
,
long
larg
,
void
*
parg
)
{
if
(
dso
==
NULL
)
{
DSOerr
(
DSO_F_DL_CTRL
,
ERR_R_PASSED_NULL_PARAMETER
);
return
(
-
1
);
}
switch
(
cmd
)
{
case
DSO_CTRL_GET_FLAGS
:
return
dso
->
flags
;
case
DSO_CTRL_SET_FLAGS
:
dso
->
flags
=
(
int
)
larg
;
return
(
0
);
case
DSO_CTRL_OR_FLAGS
:
dso
->
flags
|=
(
int
)
larg
;
return
(
0
);
default:
break
;
}
DSOerr
(
DSO_F_DL_CTRL
,
DSO_R_UNKNOWN_COMMAND
);
return
(
-
1
);
}
#endif
/* DSO_DL */
crypto/dso/dso_dlfcn.c
浏览文件 @
75a382bd
...
...
@@ -82,8 +82,8 @@ static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname);
static int dlfcn_unbind(DSO *dso, char *symname, void *symptr);
static int dlfcn_init(DSO *dso);
static int dlfcn_finish(DSO *dso);
#endif
static long dlfcn_ctrl(DSO *dso, int cmd, long larg, void *parg);
#endif
static
DSO_METHOD
dso_meth_dlfcn
=
{
"OpenSSL 'dlfcn' shared library method"
,
...
...
@@ -96,7 +96,7 @@ static DSO_METHOD dso_meth_dlfcn = {
NULL, /* unbind_var */
NULL, /* unbind_func */
#endif
dlfcn_ctrl
,
NULL
,
/* ctrl */
NULL
,
/* init */
NULL
/* finish */
};
...
...
@@ -249,28 +249,4 @@ static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname)
return
(
sym
);
}
static
long
dlfcn_ctrl
(
DSO
*
dso
,
int
cmd
,
long
larg
,
void
*
parg
)
{
if
(
dso
==
NULL
)
{
DSOerr
(
DSO_F_DLFCN_CTRL
,
ERR_R_PASSED_NULL_PARAMETER
);
return
(
-
1
);
}
switch
(
cmd
)
{
case
DSO_CTRL_GET_FLAGS
:
return
dso
->
flags
;
case
DSO_CTRL_SET_FLAGS
:
dso
->
flags
=
(
int
)
larg
;
return
(
0
);
case
DSO_CTRL_OR_FLAGS
:
dso
->
flags
|=
(
int
)
larg
;
return
(
0
);
default:
break
;
}
DSOerr
(
DSO_F_DLFCN_CTRL
,
DSO_R_UNKNOWN_COMMAND
);
return
(
-
1
);
}
#endif
/* DSO_DLFCN */
crypto/dso/dso_vms.c
浏览文件 @
75a382bd
...
...
@@ -87,8 +87,8 @@ static int vms_unbind_var(DSO *dso, char *symname, void *symptr);
static int vms_unbind_func(DSO *dso, char *symname, DSO_FUNC_TYPE symptr);
static int vms_init(DSO *dso);
static int vms_finish(DSO *dso);
#endif
static long vms_ctrl(DSO *dso, int cmd, long larg, void *parg);
#endif
static
DSO_METHOD
dso_meth_vms
=
{
"OpenSSL 'VMS' shared library method"
,
...
...
@@ -101,7 +101,7 @@ static DSO_METHOD dso_meth_vms = {
NULL, /* unbind_var */
NULL, /* unbind_func */
#endif
vms_ctrl
,
NULL
,
/* ctrl */
NULL
,
/* init */
NULL
/* finish */
};
...
...
@@ -344,28 +344,4 @@ static DSO_FUNC_TYPE vms_bind_func(DSO *dso, const char *symname)
return
sym
;
}
static
long
vms_ctrl
(
DSO
*
dso
,
int
cmd
,
long
larg
,
void
*
parg
)
{
if
(
dso
==
NULL
)
{
DSOerr
(
DSO_F_VMS_CTRL
,
ERR_R_PASSED_NULL_PARAMETER
);
return
(
-
1
);
}
switch
(
cmd
)
{
case
DSO_CTRL_GET_FLAGS
:
return
dso
->
flags
;
case
DSO_CTRL_SET_FLAGS
:
dso
->
flags
=
(
int
)
larg
;
return
(
0
);
case
DSO_CTRL_OR_FLAGS
:
dso
->
flags
|=
(
int
)
larg
;
return
(
0
);
default:
break
;
}
DSOerr
(
DSO_F_VMS_CTRL
,
DSO_R_UNKNOWN_COMMAND
);
return
(
-
1
);
}
#endif
/* VMS */
crypto/dso/dso_win32.c
浏览文件 @
75a382bd
...
...
@@ -80,8 +80,8 @@ static int win32_unbind_var(DSO *dso, char *symname, void *symptr);
static int win32_unbind_func(DSO *dso, char *symname, DSO_FUNC_TYPE symptr);
static int win32_init(DSO *dso);
static int win32_finish(DSO *dso);
#endif
static long win32_ctrl(DSO *dso, int cmd, long larg, void *parg);
#endif
static
DSO_METHOD
dso_meth_win32
=
{
"OpenSSL 'win32' shared library method"
,
...
...
@@ -94,7 +94,7 @@ static DSO_METHOD dso_meth_win32 = {
NULL, /* unbind_var */
NULL, /* unbind_func */
#endif
win32_ctrl
,
NULL
,
/* ctrl */
NULL
,
/* init */
NULL
/* finish */
};
...
...
@@ -246,28 +246,4 @@ static DSO_FUNC_TYPE win32_bind_func(DSO *dso, const char *symname)
return
((
DSO_FUNC_TYPE
)
sym
);
}
static
long
win32_ctrl
(
DSO
*
dso
,
int
cmd
,
long
larg
,
void
*
parg
)
{
if
(
dso
==
NULL
)
{
DSOerr
(
DSO_F_WIN32_CTRL
,
ERR_R_PASSED_NULL_PARAMETER
);
return
(
-
1
);
}
switch
(
cmd
)
{
case
DSO_CTRL_GET_FLAGS
:
return
dso
->
flags
;
case
DSO_CTRL_SET_FLAGS
:
dso
->
flags
=
(
int
)
larg
;
return
(
0
);
case
DSO_CTRL_OR_FLAGS
:
dso
->
flags
|=
(
int
)
larg
;
return
(
0
);
default:
break
;
}
DSOerr
(
DSO_F_WIN32_CTRL
,
DSO_R_UNKNOWN_COMMAND
);
return
(
-
1
);
}
#endif
/* WIN32 */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录