Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
01d99976
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看板
提交
01d99976
编写于
3月 14, 2016
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix a few Configure errors
Reviewed-by:
N
Andy Polyakov
<
appro@openssl.org
>
上级
bae26b58
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
11 addition
and
15 deletion
+11
-15
Configurations/10-main.conf
Configurations/10-main.conf
+7
-6
Configure
Configure
+4
-9
未找到文件。
Configurations/10-main.conf
浏览文件 @
01d99976
...
@@ -52,8 +52,9 @@ sub vc_wince_info {
...
@@ -52,8 +52,9 @@ sub vc_wince_info {
my
$
wcelflag
=
"/subsystem:windowsce,$1.$2"
;
# ...,N.NN
my
$
wcelflag
=
"/subsystem:windowsce,$1.$2"
;
# ...,N.NN
my
$
wceplatf
= $
ENV
{
'PLATFORM'
};
my
$
wceplatf
= $
ENV
{
'PLATFORM'
};
my
$
wceplatf
=~
tr
/
a
-
z0
-
9
/
A
-
Z0
-
9
_
/
d
;
my
$
wcecdefs
.=
" -DWCE_PLATFORM_$wceplatf"
;
$
wceplatf
=~
tr
/
a
-
z0
-
9
/
A
-
Z0
-
9
_
/;
$
wcecdefs
.=
" -DWCE_PLATFORM_$wceplatf"
;
my
$
wcetgt
= $
ENV
{
'TARGETCPU'
};
# just shorter name...
my
$
wcetgt
= $
ENV
{
'TARGETCPU'
};
# just shorter name...
SWITCH
:
for
($
wcetgt
) {
SWITCH
:
for
($
wcetgt
) {
...
@@ -532,10 +533,10 @@ sub vc_wince_info {
...
@@ -532,10 +533,10 @@ sub vc_wince_info {
"hpux64-ia64-gcc"
=> {
"hpux64-ia64-gcc"
=> {
inherit_from
=> [
"BASE_unix"
,
asm
(
"ia64_asm"
) ],
inherit_from
=> [
"BASE_unix"
,
asm
(
"ia64_asm"
) ],
cc
=>
"gcc"
,
cc
=>
"gcc"
,
cflags
=>
picker
(
default
=>
"-mlp64 -DB_ENDIAN"
,
cflags
=>
combine
(
picker
(
default
=>
"-mlp64 -DB_ENDIAN"
,
debug
=>
"-O0 -g"
,
debug
=>
"-O0 -g"
,
release
=>
"-O3"
,
release
=>
"-O3"
)
,
threads
(
"-pthread"
)),
threads
(
"-pthread"
)),
ex_libs
=>
add
(
"-ldl"
),
ex_libs
=>
add
(
"-ldl"
),
bn_ops
=>
"SIXTY_FOUR_BIT_LONG"
,
bn_ops
=>
"SIXTY_FOUR_BIT_LONG"
,
thread_scheme
=>
"pthreads"
,
thread_scheme
=>
"pthreads"
,
...
...
Configure
浏览文件 @
01d99976
#! /usr/bin/env perl
#! /usr/bin/env perl
# -*- mode: perl; -*-
# -*- mode: perl; -*-
##
## Configure -- OpenSSL source tree configuration script
## Configure -- OpenSSL source tree configuration script
## If editing this file, run this command before committing
## make -f Makefile.in TABLE
##
require
5.000
;
require
5.000
;
use
strict
;
use
strict
;
...
@@ -202,7 +198,6 @@ foreach (sort glob($pattern) ) {
...
@@ -202,7 +198,6 @@ foreach (sort glob($pattern) ) {
print
"
Configuring OpenSSL version
$config
{version} (0x
$config
{version_num})
\n
";
print
"
Configuring OpenSSL version
$config
{version} (0x
$config
{version_num})
\n
";
$config
{
perl
};
$config
{
prefix
}
=
"";
$config
{
prefix
}
=
"";
$config
{
openssldir
}
=
"";
$config
{
openssldir
}
=
"";
$config
{
processor
}
=
"";
$config
{
processor
}
=
"";
...
@@ -746,7 +741,7 @@ while (@tocheckfor) {
...
@@ -746,7 +741,7 @@ while (@tocheckfor) {
my
(
$test
,
$descendents
)
=
(
shift
@cascade_copy
,
shift
@cascade_copy
);
my
(
$test
,
$descendents
)
=
(
shift
@cascade_copy
,
shift
@cascade_copy
);
if
(
ref
(
$test
)
eq
"
CODE
"
?
$test
->
()
:
defined
(
$disabled
{
$test
}))
{
if
(
ref
(
$test
)
eq
"
CODE
"
?
$test
->
()
:
defined
(
$disabled
{
$test
}))
{
map
{
map
{
$new_tocheckfor
{
$_
}
=
>
1
;
$disabled
{
$_
}
=
"
forced
";
$new_tocheckfor
{
$_
}
=
1
;
$disabled
{
$_
}
=
"
forced
";
}
grep
{
!
defined
(
$disabled
{
$_
})
}
@$descendents
;
}
grep
{
!
defined
(
$disabled
{
$_
})
}
@$descendents
;
}
}
}
}
...
@@ -1153,7 +1148,7 @@ die "Exactly one of SIXTY_FOUR_BIT|SIXTY_FOUR_BIT_LONG|THIRTY_TWO_BIT can be set
...
@@ -1153,7 +1148,7 @@ die "Exactly one of SIXTY_FOUR_BIT|SIXTY_FOUR_BIT_LONG|THIRTY_TWO_BIT can be set
# "Stringify" the C flags string. This permits it to be made part of a string
# "Stringify" the C flags string. This permits it to be made part of a string
# and works as well on command lines.
# and works as well on command lines.
$config
{
cflags
}
=~
s/([\\\"])/\\
\
1/g
;
$config
{
cflags
}
=~
s/([\\\"])/\\
$
1/g
;
if
(
defined
(
$config
{
api
}))
{
if
(
defined
(
$config
{
api
}))
{
$config
{
openssl_api_defines
}
=
[
"
OPENSSL_MIN_API=
"
.
$apitable
->
{
$config
{
api
}}
];
$config
{
openssl_api_defines
}
=
[
"
OPENSSL_MIN_API=
"
.
$apitable
->
{
$config
{
api
}}
];
...
@@ -1798,7 +1793,7 @@ print "SIXTY_FOUR_BIT_LONG mode\n" if $config{b64l};
...
@@ -1798,7 +1793,7 @@ print "SIXTY_FOUR_BIT_LONG mode\n" if $config{b64l};
print
"
SIXTY_FOUR_BIT mode
\n
"
if
$config
{
b64
};
print
"
SIXTY_FOUR_BIT mode
\n
"
if
$config
{
b64
};
print
"
THIRTY_TWO_BIT mode
\n
"
if
$config
{
b32
};
print
"
THIRTY_TWO_BIT mode
\n
"
if
$config
{
b32
};
print
"
BN_LLONG mode
\n
"
if
$config
{
bn_ll
};
print
"
BN_LLONG mode
\n
"
if
$config
{
bn_ll
};
print
"
RC4 uses
$config
{rc4_int}
\n
"
if
$config
{
rc4_int
}
!=
$def_int
;
print
"
RC4 uses
$config
{rc4_int}
\n
"
if
$config
{
rc4_int
}
ne
$def_int
;
for
(
@generated_headers
)
{
for
(
@generated_headers
)
{
mkpath
(
catdir
(
$blddir
,
dirname
(
$_
)));
mkpath
(
catdir
(
$blddir
,
dirname
(
$_
)));
...
@@ -2210,7 +2205,7 @@ sub usage
...
@@ -2210,7 +2205,7 @@ sub usage
exit
(
1
);
exit
(
1
);
}
}
sub
run_dofile
()
sub
run_dofile
{
{
my
$out
=
shift
;
my
$out
=
shift
;
my
@templates
=
@_
;
my
@templates
=
@_
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录