Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
8b8839ba
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
12 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
8b8839ba
编写于
3月 22, 1999
作者:
R
Ralf S. Engelschall
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
up_ver.pl is now obsolete
上级
4f0a2bce
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
0 addition
and
80 deletion
+0
-80
util/up_ver.pl
util/up_ver.pl
+0
-80
未找到文件。
util/up_ver.pl
已删除
100755 → 0
浏览文件 @
4f0a2bce
#!/usr/local/bin/perl
#
# Up the version numbers in the files.
#
@files
=
(
"
crypto/crypto.h
",
"
crypto/des/ecb_enc.c
",
"
crypto/idea/i_ecb.c
",
"
crypto/lhash/lhash.c
",
"
crypto/conf/conf.c
",
"
crypto/md2/md2_dgst.c
",
"
crypto/md5/md5_dgst.c
",
"
crypto/ripemd/rmd_dgst.c
",
"
crypto/pem/pem_lib.c
",
"
crypto/bn/bn_lib.c
",
"
crypto/dh/dh_lib.c
",
"
crypto/rc2/rc2_ecb.c
",
"
crypto/rc4/rc4_skey.c
",
"
crypto/rc5/rc5_ecb.c
",
"
crypto/bf/bf_ecb.c
",
"
crypto/cast/c_ecb.c
",
"
crypto/rsa/rsa_lib.c
",
"
crypto/dsa/dsa_lib.c
",
"
crypto/sha/sha1dgst.c
",
"
crypto/sha/sha_dgst.c
",
"
crypto/asn1/asn1_lib.c
",
"
crypto/x509/x509_vfy.c
",
"
crypto/evp/evp_enc.c
",
"
crypto/rand/md_rand.c
",
"
crypto/stack/stack.c
",
"
crypto/txt_db/txt_db.c
",
"
crypto/cversion.c
",
"
ssl/ssl_lib.c
",
"
ssl/s2_lib.c
",
"
ssl/s3_lib.c
",
"
ssl/s23_lib.c
",
"
ssl/t1_lib.c
",
"
README
",
);
@month
=
('
Jan
','
Feb
','
Mar
','
Apr
','
May
','
Jun
',
'
Jul
','
Aug
','
Sep
','
Oct
','
Nov
','
Dec
');
@a
=
localtime
(
time
());
$time
=
sprintf
("
%02d-%s-%04d
",
$a
[
3
],
$month
[
$a
[
4
]],
$a
[
5
]
+
1900
);
$ver
=
$ARGV
[
0
];
(
$ver
ne
"")
||
die
"
no version number specified
\n
";
(
$a
,
$b
,
$c
,
$d
)
=
unpack
('
axaxac
',
$ver
);
$d
=
defined
(
$d
)?
$d
-
96
:
0
;
$xver
=
sprintf
("
%x%x%x%x
",
$a
,
$b
,
$c
,
$d
);
foreach
$file
(
@files
)
{
open
(
IN
,"
<
$file
")
||
die
"
unable to open
$file
:$!
\n
";
open
(
OUT
,"
>
$file
.new
")
||
die
"
unable to open
$file
.new:$!
\n
";
$found
=
0
;
print
STDERR
"
$file
:
";
while
(
<
IN
>
)
{
if
((
s/(SSLeay|OpenSSL|SSLeay\/OpenSSL) \d\.\d.\d[^"]*(\"|\s)/OpenSSL $ver $time\2/
)
||
s/^(\#define\s+OPENSSL_VERSION_NUMBER\s+0x)[0-9a-zA-Z]+(.*)$/$1$xver$2/
)
{
print
STDERR
"
Done
";
$found
++
;
print
OUT
;
while
(
<
IN
>
)
{
print
OUT
;
}
last
;
}
print
OUT
;
}
print
STDERR
"
\n
";
close
(
IN
);
close
(
OUT
);
(
!
$found
)
&&
die
"
unable to update the version number in
$file
\n
";
rename
(
$file
,"
$file
.bak
")
||
die
"
unable to rename
$file
:$!
\n
";
rename
("
$file
.new
",
$file
)
||
die
"
unable to rename
$file
.new:$!
\n
";
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录