Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
1cc67fa8
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看板
提交
1cc67fa8
编写于
7月 23, 2002
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make dummy tests to make it easier to physically remove unwanted algorithms.
This should complete PR 75
上级
eefa6e4e
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
61 addition
and
2 deletion
+61
-2
Configure
Configure
+1
-0
Makefile.org
Makefile.org
+4
-0
test/Makefile.ssl
test/Makefile.ssl
+8
-1
test/dummytest.c
test/dummytest.c
+47
-0
util/pod2mantest
util/pod2mantest
+1
-1
未找到文件。
Configure
浏览文件 @
1cc67fa8
...
...
@@ -1457,6 +1457,7 @@ EOF
my $make_targets = "";
$make_targets .= " links" if $symlink;
$make_targets .= " depend" if $depflags ne "" && $make_depend;
$make_targets .= " gentests" if $symlink;
(system $make_command.$make_targets) == 0 or exit $?
if $make_targets ne "";
if ( $perl =~ m@^/@) {
...
...
Makefile.org
浏览文件 @
1cc67fa8
...
...
@@ -564,6 +564,10 @@ links:
fi
;
\
done
;
gentests
:
@
(
cd test
&&
echo
"generating dummy tests (if needed)..."
&&
\
$(MAKE)
CC
=
'
${CC}
'
PLATFORM
=
'
${PLATFORM}
'
CFLAG
=
'
${CFLAG}
'
SDIRS
=
'
$(SDIRS)
'
INSTALLTOP
=
'
${INSTALLTOP}
'
PEX_LIBS
=
'
${PEX_LIBS}
'
EX_LIBS
=
'
${EX_LIBS}
'
BN_ASM
=
'
${BN_ASM}
'
DES_ENC
=
'
${DES_ENC}
'
BF_ENC
=
'
${BF_ENC}
'
CAST_ENC
=
'
${CAST_ENC}
'
RC4_ENC
=
'
${RC4_ENC}
'
RC5_ENC
=
'
${RC5_ENC}
'
SHA1_ASM_OBJ
=
'
${SHA1_ASM_OBJ}
'
MD5_ASM_OBJ
=
'
${MD5_ASM_OBJ}
'
RMD160_ASM_OBJ
=
'
${RMD160_ASM_OBJ}
'
AR
=
'
${AR}
'
PROCESSOR
=
'
${PROCESSOR}
'
PERL
=
'
${PERL}
'
RANLIB
=
'
${RANLIB}
'
TESTS
=
'
${TESTS}
'
KRB5_INCLUDES
=
'
${KRB5_INCLUDES}
'
LIBKRB5
=
'
${LIBKRB5}
'
EXE_EXT
=
'
${EXE_EXT}
'
SHARED_LIBS
=
'
${SHARED_LIBS}
'
SHLIB_EXT
=
'
${SHLIB_EXT}
'
SHLIB_TARGET
=
'
${SHLIB_TARGET}
'
TESTS
=
'
${TESTS}
'
OPENSSL_DEBUG_MEMORY
=
on generate
)
;
dclean
:
rm
-f
*
.bak
@
for
i
in
$(DIRS)
;
\
...
...
test/Makefile.ssl
浏览文件 @
1cc67fa8
...
...
@@ -98,7 +98,7 @@ top:
all
:
exe
exe
:
$(EXE)
exe
:
$(EXE)
dummytest
files
:
$(PERL)
$(TOP)
/util/files.pl Makefile.ssl
>>
$(TOP)
/MINFO
...
...
@@ -106,6 +106,10 @@ files:
links
:
@
@
$(TOP)
/util/point.sh Makefile.ssl Makefile
generate
:
$(SRC)
$(SRC)
:
@
$(TOP)
/util/point.sh dummytest.c
$@
errors
:
install
:
...
...
@@ -374,6 +378,9 @@ $(ECDSATEST): $(ECDSATEST).o $(DLIBCRYPTO)
#$(RDTEST): $(RDTEST).o $(DLIBCRYPTO)
# $(CC) -o $(RDTEST) $(CFLAGS) $(RDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
dummytest
:
dummytest.o $(DLIBCRYPTO)
$(CC)
-o
dummytest
$(CFLAGS)
dummytest.o
$(PEX_LIBS)
$(LIBCRYPTO)
$(EX_LIBS)
# DO NOT DELETE THIS LINE -- make depend depends on it.
bftest.o
:
../include/openssl/blowfish.h ../include/openssl/e_os2.h
...
...
test/dummytest.c
0 → 100644
浏览文件 @
1cc67fa8
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <openssl/e_os2.h>
#include <openssl/buffer.h>
#include <openssl/crypto.h>
int
main
(
int
argc
,
char
*
argv
[])
{
char
*
p
,
*
q
,
*
program
;
p
=
strrchr
(
argv
[
0
],
'/'
);
if
(
!
p
)
p
=
strrchr
(
argv
[
0
],
'\\'
);
#ifdef OPENSSL_SYS_VMS
if
(
!
p
)
p
=
strrchr
(
argv
[
0
],
']'
);
if
(
p
)
q
=
strrchr
(
p
,
'>'
);
if
(
q
)
p
=
q
;
if
(
!
p
)
p
=
strrchr
(
argv
[
0
],
':'
);
q
=
0
;
#endif
if
(
p
)
p
++
;
if
(
!
p
)
p
=
argv
[
0
];
if
(
p
)
q
=
strchr
(
p
,
'.'
);
if
(
p
&&
!
q
)
q
=
p
+
strlen
(
p
);
if
(
!
p
)
program
=
BUF_strdup
(
"(unknown)"
);
else
{
program
=
OPENSSL_malloc
((
q
-
p
)
+
1
);
strncpy
(
program
,
p
,
q
-
p
);
program
[
q
-
p
]
=
'\0'
;
}
for
(
p
=
program
;
*
p
;
p
++
)
if
(
islower
(
*
p
))
*
p
=
toupper
(
*
p
);
q
=
strstr
(
program
,
"TEST"
);
if
(
q
>
p
&&
q
[
-
1
]
==
'_'
)
q
--
;
*
q
=
'\0'
;
printf
(
"No %s support
\n
"
,
program
);
OPENSSL_free
(
program
);
return
(
0
);
}
util/pod2mantest
浏览文件 @
1cc67fa8
...
...
@@ -14,7 +14,7 @@ IFS=:
if
test
"
$OSTYPE
"
=
"msdosdjgpp"
;
then
IFS
=
";"
;
fi
try_without_dir
=
false
# First we try "pod2man", then "$dir/pod2man" for each item in $PATH.
for
dir
in
dummy
:
$PATH
;
do
for
dir
in
dummy
${
IFS
}
$PATH
;
do
if
[
"
$try_without_dir
"
=
true
]
;
then
# first iteration
pod2man
=
pod2man
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录