Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
6dc5d570
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看板
提交
6dc5d570
编写于
9月 25, 2001
作者:
G
Geoff Thorpe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make necessary tweaks to apps/ files due to recent ENGINE surgery. See
crypto/engine/README for details.
上级
cb78486d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
13 addition
and
11 deletion
+13
-11
apps/apps.c
apps/apps.c
+0
-2
apps/apps.h
apps/apps.h
+8
-8
apps/engine.c
apps/engine.c
+4
-0
apps/speed.c
apps/speed.c
+1
-1
未找到文件。
apps/apps.c
浏览文件 @
6dc5d570
...
...
@@ -1167,8 +1167,6 @@ ENGINE *setup_engine(BIO *err, const char *engine, int debug)
return
NULL
;
}
ENGINE_load_engine_ciphers
(
e
);
BIO_printf
(
err
,
"engine
\"
%s
\"
set.
\n
"
,
engine
);
/* Free our "structural" reference. */
...
...
apps/apps.h
浏览文件 @
6dc5d570
...
...
@@ -126,21 +126,21 @@ extern BIO *bio_err;
# ifdef _O_BINARY
# define apps_startup() \
do { _fmode=_O_BINARY; do_pipe_sig(); CRYPTO_malloc_init(); \
ERR_load_crypto_strings(); \
OpenSSL_add_all_algorithms(); ENGINE_load_builtin_engines
(); \
setup_ui_method(); } while(0)
ERR_load_crypto_strings();
OpenSSL_add_all_algorithms();
\
ENGINE_load_builtin_engines(); ENGINE_register_all_complete
(); \
setup_ui_method(); } while(0)
# else
# define apps_startup() \
do { _fmode=O_BINARY; do_pipe_sig(); CRYPTO_malloc_init(); \
ERR_load_crypto_strings(); \
OpenSSL_add_all_algorithms(); ENGINE_load_builtin_engines
(); \
setup_ui_method(); } while(0)
ERR_load_crypto_strings();
OpenSSL_add_all_algorithms();
\
ENGINE_load_builtin_engines(); ENGINE_register_all_complete
(); \
setup_ui_method(); } while(0)
# endif
# else
# define apps_startup() \
do { do_pipe_sig(); OpenSSL_add_all_algorithms(); \
ERR_load_crypto_strings(); \
ENGINE_
load_builtin_engines
(); setup_ui_method(); } while(0)
ERR_load_crypto_strings();
ENGINE_load_builtin_engines();
\
ENGINE_
register_all_complete
(); setup_ui_method(); } while(0)
# endif
# define apps_shutdown() \
do { destroy_ui_method(); EVP_cleanup(); \
...
...
apps/engine.c
浏览文件 @
6dc5d570
...
...
@@ -430,7 +430,9 @@ skip_arg_loop:
{
int
cap_size
=
256
;
char
*
cap_buf
=
NULL
;
#if 0 /* Awaiting EVP_[CIPHER|DIGEST] refit */
int k,n;
#endif
if
(
ENGINE_get_RSA
(
e
)
!=
NULL
&&
!
append_buf
(
&
cap_buf
,
"RSA"
,
...
...
@@ -449,12 +451,14 @@ skip_arg_loop:
&
cap_size
,
256
))
goto
end
;
#if 0
n=ENGINE_cipher_num(e);
for(k=0 ; k < n ; ++k)
if(!append_buf(&cap_buf,
OBJ_nid2sn(ENGINE_get_cipher(e, k)->nid),
&cap_size, 256))
goto end;
#endif
if
(
cap_buf
&&
(
*
cap_buf
!=
'\0'
))
BIO_printf
(
bio_out
,
" [%s]"
,
cap_buf
);
...
...
apps/speed.c
浏览文件 @
6dc5d570
...
...
@@ -570,7 +570,7 @@ int MAIN(int argc, char **argv)
#ifndef RSA_NULL
if
(
strcmp
(
*
argv
,
"openssl"
)
==
0
)
{
RSA_set_default_
openssl_
method
(
RSA_PKCS1_SSLeay
());
RSA_set_default_method
(
RSA_PKCS1_SSLeay
());
j
--
;
}
else
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录