Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
6cb68620
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
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,发现更多精彩内容 >>
提交
6cb68620
编写于
10月 24, 2002
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
For the mkdef.pl to recognise if the "external" engines are inserted
into libcrypto, we need the "algorithm" STATIC_ENGINE.
上级
bd1fb772
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
2 deletion
+13
-2
Configure
Configure
+5
-0
crypto/engine/engine.h
crypto/engine/engine.h
+2
-0
util/mkdef.pl
util/mkdef.pl
+6
-2
未找到文件。
Configure
浏览文件 @
6cb68620
...
...
@@ -1122,6 +1122,11 @@ if ($no_shared)
$cflags="-DOPENSSL_NO_DYNAMIC_ENGINE $cflags";
$openssl_other_defines.="#define OPENSSL_NO_DYNAMIC_ENGINE\n";
}
else
{
$cflags="-DOPENSSL_NO_STATIC_ENGINE $cflags";
$openssl_other_defines.="#define OPENSSL_NO_STATIC_ENGINE\n";
}
if ($sys_id ne "")
{
...
...
crypto/engine/engine.h
浏览文件 @
6cb68620
...
...
@@ -318,6 +318,7 @@ ENGINE *ENGINE_by_id(const char *id);
/* Add all the built-in engines. */
void
ENGINE_load_openssl
(
void
);
void
ENGINE_load_dynamic
(
void
);
#ifndef OPENSSL_NO_STATIC_ENGINE
void
ENGINE_load_cswift
(
void
);
void
ENGINE_load_chil
(
void
);
void
ENGINE_load_atalla
(
void
);
...
...
@@ -326,6 +327,7 @@ void ENGINE_load_ubsec(void);
void
ENGINE_load_aep
(
void
);
void
ENGINE_load_sureware
(
void
);
void
ENGINE_load_4758cca
(
void
);
#endif
void
ENGINE_load_cryptodev
(
void
);
void
ENGINE_load_builtin_engines
(
void
);
...
...
util/mkdef.pl
浏览文件 @
6cb68620
...
...
@@ -91,7 +91,9 @@ my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF",
"
BIO
",
"
COMP
",
"
BUFFER
",
"
LHASH
",
"
STACK
",
"
ERR
",
"
LOCKING
",
# External "algorithms"
"
FP_API
",
"
STDIO
",
"
SOCK
",
"
KRB5
"
);
"
FP_API
",
"
STDIO
",
"
SOCK
",
"
KRB5
",
# Engines
"
STATIC_ENGINE
"
);
my
$options
=
"";
open
(
IN
,"
<Makefile.ssl
")
||
die
"
unable to open Makefile.ssl!
\n
";
...
...
@@ -108,7 +110,7 @@ my $no_cast;
my
$no_md2
;
my
$no_md4
;
my
$no_md5
;
my
$no_sha
;
my
$no_ripemd
;
my
$no_mdc2
;
my
$no_rsa
;
my
$no_dsa
;
my
$no_dh
;
my
$no_hmac
=
0
;
my
$no_aes
;
my
$no_krb5
;
my
$no_ec
;
my
$no_ecdsa
;
my
$no_ecdh
;
my
$no_fp_api
;
my
$no_fp_api
;
my
$no_static_engine
;
foreach
(
@ARGV
,
split
(
/ /
,
$options
))
{
...
...
@@ -443,6 +445,7 @@ sub do_defs
s/\/\*.*?\*\///gs
;
# ignore comments
s/{[^{}]*}//gs
;
# ignore {} blocks
print
STDERR
"
DEBUG:
\$
def=
\"
$def
\"\n
"
if
$debug
&&
$def
ne
"";
print
STDERR
"
DEBUG:
\$
_=
\"
$_
\"\n
"
if
$debug
;
if
(
/^\#\s*ifndef\s+(.*)/
)
{
push
(
@tag
,"
-
");
...
...
@@ -1061,6 +1064,7 @@ sub is_valid
if
(
$keyword
eq
"
DSO
"
&&
$no_dso
)
{
return
0
;
}
if
(
$keyword
eq
"
KRB5
"
&&
$no_krb5
)
{
return
0
;
}
if
(
$keyword
eq
"
FP_API
"
&&
$no_fp_api
)
{
return
0
;
}
if
(
$keyword
eq
"
STATIC_ENGINE
"
&&
$no_static_engine
)
{
return
0
;
}
# Nothing recognise as true
return
1
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录