Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
cca28b29
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看板
提交
cca28b29
编写于
1月 18, 2002
作者:
B
Ben Laurie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Constification, missing declaration, update dependencies.
上级
062d3e39
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
38 addition
and
4 deletion
+38
-4
crypto/conf/Makefile.ssl
crypto/conf/Makefile.ssl
+30
-0
crypto/conf/conf.h
crypto/conf/conf.h
+4
-1
crypto/conf/conf_mod.c
crypto/conf/conf_mod.c
+4
-3
未找到文件。
crypto/conf/Makefile.ssl
浏览文件 @
cca28b29
...
...
@@ -109,3 +109,33 @@ conf_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
conf_lib.o
:
../../include/openssl/opensslv.h ../../include/openssl/safestack.h
conf_lib.o
:
../../include/openssl/stack.h ../../include/openssl/symhacks.h
conf_lib.o
:
conf_lib.c
conf_mall.o
:
../../e_os.h ../../include/openssl/asn1.h
conf_mall.o
:
../../include/openssl/bio.h ../../include/openssl/bn.h
conf_mall.o
:
../../include/openssl/buffer.h ../../include/openssl/conf.h
conf_mall.o
:
../../include/openssl/crypto.h ../../include/openssl/dh.h
conf_mall.o
:
../../include/openssl/dsa.h ../../include/openssl/dso.h
conf_mall.o
:
../../include/openssl/e_os2.h ../../include/openssl/err.h
conf_mall.o
:
../../include/openssl/evp.h ../../include/openssl/lhash.h
conf_mall.o
:
../../include/openssl/obj_mac.h ../../include/openssl/objects.h
conf_mall.o
:
../../include/openssl/opensslconf.h
conf_mall.o
:
../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
conf_mall.o
:
../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
conf_mall.o
:
../../include/openssl/safestack.h ../../include/openssl/sha.h
conf_mall.o
:
../../include/openssl/stack.h ../../include/openssl/symhacks.h
conf_mall.o
:
../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
conf_mall.o
:
../cryptlib.h conf_mall.c
conf_mod.o
:
../../e_os.h ../../include/openssl/asn1.h
conf_mod.o
:
../../include/openssl/bio.h ../../include/openssl/bn.h
conf_mod.o
:
../../include/openssl/buffer.h ../../include/openssl/conf.h
conf_mod.o
:
../../include/openssl/crypto.h ../../include/openssl/dh.h
conf_mod.o
:
../../include/openssl/dsa.h ../../include/openssl/dso.h
conf_mod.o
:
../../include/openssl/e_os2.h ../../include/openssl/err.h
conf_mod.o
:
../../include/openssl/evp.h ../../include/openssl/lhash.h
conf_mod.o
:
../../include/openssl/obj_mac.h ../../include/openssl/objects.h
conf_mod.o
:
../../include/openssl/opensslconf.h
conf_mod.o
:
../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
conf_mod.o
:
../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
conf_mod.o
:
../../include/openssl/safestack.h ../../include/openssl/sha.h
conf_mod.o
:
../../include/openssl/stack.h ../../include/openssl/symhacks.h
conf_mod.o
:
../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
conf_mod.o
:
../cryptlib.h conf_mod.c
crypto/conf/conf.h
浏览文件 @
cca28b29
...
...
@@ -127,6 +127,8 @@ void CONF_free(LHASH *conf);
int
CONF_dump_fp
(
LHASH
*
conf
,
FILE
*
out
);
int
CONF_dump_bio
(
LHASH
*
conf
,
BIO
*
out
);
void
OPENSSL_config
(
void
);
/* New conf code. The semantics are different from the functions above.
If that wasn't the case, the above functions would have been replaced */
...
...
@@ -170,7 +172,8 @@ int CONF_modules_load(CONF *cnf, char *appname, unsigned long flags);
int
CONF_modules_load_file
(
char
*
filename
,
char
*
appname
,
unsigned
long
flags
);
void
CONF_modules_unload
(
int
all
);
void
CONF_modules_finish
(
void
);
int
CONF_module_add
(
char
*
name
,
conf_init_func
*
ifunc
,
conf_finish_func
*
ffunc
);
int
CONF_module_add
(
const
char
*
name
,
conf_init_func
*
ifunc
,
conf_finish_func
*
ffunc
);
char
*
CONF_imodule_get_name
(
CONF_IMODULE
*
md
);
char
*
CONF_imodule_get_value
(
CONF_IMODULE
*
md
);
...
...
crypto/conf/conf_mod.c
浏览文件 @
cca28b29
...
...
@@ -109,7 +109,7 @@ static STACK_OF(CONF_IMODULE) *initialized_modules = NULL;
static
void
module_free
(
CONF_MODULE
*
md
);
static
void
module_finish
(
CONF_IMODULE
*
imod
);
static
int
module_run
(
CONF
*
cnf
,
char
*
name
,
char
*
value
,
unsigned
long
flags
);
static
CONF_MODULE
*
module_add
(
DSO
*
dso
,
char
*
name
,
static
CONF_MODULE
*
module_add
(
DSO
*
dso
,
c
onst
c
har
*
name
,
conf_init_func
*
ifunc
,
conf_finish_func
*
ffunc
);
static
CONF_MODULE
*
module_find
(
char
*
name
);
static
int
module_init
(
CONF_MODULE
*
pmod
,
char
*
name
,
char
*
value
,
CONF
*
cnf
);
...
...
@@ -262,7 +262,7 @@ static CONF_MODULE *module_load_dso(CONF *cnf, char *name, char *value, unsigned
}
/* add module to list */
static
CONF_MODULE
*
module_add
(
DSO
*
dso
,
char
*
name
,
static
CONF_MODULE
*
module_add
(
DSO
*
dso
,
c
onst
c
har
*
name
,
conf_init_func
*
ifunc
,
conf_finish_func
*
ffunc
)
{
CONF_MODULE
*
tmod
=
NULL
;
...
...
@@ -445,7 +445,8 @@ static void module_finish(CONF_IMODULE *imod)
/* Add a static module to OpenSSL */
int
CONF_module_add
(
char
*
name
,
conf_init_func
*
ifunc
,
conf_finish_func
*
ffunc
)
int
CONF_module_add
(
const
char
*
name
,
conf_init_func
*
ifunc
,
conf_finish_func
*
ffunc
)
{
if
(
module_add
(
NULL
,
name
,
ifunc
,
ffunc
))
return
1
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录