Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
e9ad6665
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
接近 2 年 前同步成功
通知
12
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看板
提交
e9ad6665
编写于
4月 23, 2005
作者:
B
Ben Laurie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add debug target, remove cast, note possible bug.
上级
b5855b2f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
1 deletion
+4
-1
Configure
Configure
+1
-0
apps/s_server.c
apps/s_server.c
+1
-1
crypto/dsa/dsa_ossl.c
crypto/dsa/dsa_ossl.c
+2
-0
未找到文件。
Configure
浏览文件 @
e9ad6665
...
...
@@ -367,6 +367,7 @@ my %table=(
"BSD-generic32","gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"BSD-x86", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"BSD-x86-elf", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"debug-BSD-x86-elf", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wall -g::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"BSD-sparcv8", "gcc:-DB_ENDIAN -DTERMIOS -O3 -mv8 -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"BSD-generic64","gcc:-DTERMIOS -O3 -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
...
...
apps/s_server.c
浏览文件 @
e9ad6665
...
...
@@ -1470,7 +1470,7 @@ static DH *load_dh_param(const char *dhfile)
DH
*
ret
=
NULL
;
BIO
*
bio
;
if
((
bio
=
BIO_new_file
(
(
char
*
)
dhfile
,
"r"
))
==
NULL
)
if
((
bio
=
BIO_new_file
(
dhfile
,
"r"
))
==
NULL
)
goto
err
;
ret
=
PEM_read_bio_DHparams
(
bio
,
NULL
,
NULL
,
NULL
);
err:
...
...
crypto/dsa/dsa_ossl.c
浏览文件 @
e9ad6665
...
...
@@ -326,6 +326,8 @@ static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig,
ret
=
(
BN_ucmp
(
&
u1
,
sig
->
r
)
==
0
);
err:
/* XXX: surely this is wrong - if ret is 0, it just didn't verify
there is no error in BN. Test should be ret == -1 (Ben) */
if
(
ret
!=
1
)
DSAerr
(
DSA_F_DSA_DO_VERIFY
,
ERR_R_BN_LIB
);
if
(
ctx
!=
NULL
)
BN_CTX_free
(
ctx
);
BN_free
(
&
u1
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录