Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
d35d3692
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d35d3692
编写于
5月 17, 2012
作者:
X
xuelei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7145960: sun/security/mscapi/ShortRSAKey1024.sh failing on windows
Reviewed-by: vinnie, wetmore
上级
7295868a
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
60 addition
and
15 deletion
+60
-15
test/sun/security/mscapi/ShortRSAKey1024.sh
test/sun/security/mscapi/ShortRSAKey1024.sh
+20
-5
test/sun/security/mscapi/ShortRSAKey512.sh
test/sun/security/mscapi/ShortRSAKey512.sh
+20
-5
test/sun/security/mscapi/ShortRSAKey768.sh
test/sun/security/mscapi/ShortRSAKey768.sh
+20
-5
未找到文件。
test/sun/security/mscapi/ShortRSAKey1024.sh
浏览文件 @
d35d3692
...
...
@@ -46,11 +46,20 @@ if [ "${TESTJAVA}" = "" ] ; then
fi
OS
=
`
uname
-s
`
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
|
CYGWIN
*
)
FS
=
"/"
;;
Windows_
*
)
FS
=
"
\\
"
;;
esac
case
"
$OS
"
in
Windows
*
|
CYGWIN
*
)
echo
"Creating a temporary RSA keypair in the Windows-My store..."
${
TESTJAVA
}
/bin/
keytool
\
${
TESTJAVA
}
${
FS
}
bin
${
FS
}
keytool
\
-genkeypair
\
-storetype
Windows-My
\
-keyalg
RSA
\
...
...
@@ -59,22 +68,28 @@ case "$OS" in
-dname
"cn=localhost,c=US"
\
-noprompt
if
[
"
$?
"
-ne
"0"
]
;
then
echo
"Unable to generate key pair in Windows-My keystore"
exit
1
fi
echo
echo
"Running the test..."
${
TESTJAVA
}
/bin/javac
-d
.
${
TESTSRC
}
\\
ShortRSAKeyWithinTLS.java
${
TESTJAVA
}
/bin/java ShortRSAKeyWithinTLS 7106773.1024 1024
\
${
TESTJAVA
}${
FS
}
bin
${
FS
}
javac
-d
.
\
${
TESTSRC
}${
FS
}
ShortRSAKeyWithinTLS.java
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java ShortRSAKeyWithinTLS 7106773.1024 1024
\
TLSv1.2 TLS_DHE_RSA_WITH_AES_128_CBC_SHA
rc
=
$?
echo
echo
"Removing the temporary RSA keypair from the Windows-My store..."
${
TESTJAVA
}
/bin/
keytool
\
${
TESTJAVA
}
${
FS
}
bin
${
FS
}
keytool
\
-delete
\
-storetype
Windows-My
\
-alias
7106773.1024
echo
done
.
echo
"Done"
.
exit
$rc
;;
...
...
test/sun/security/mscapi/ShortRSAKey512.sh
浏览文件 @
d35d3692
...
...
@@ -46,11 +46,20 @@ if [ "${TESTJAVA}" = "" ] ; then
fi
OS
=
`
uname
-s
`
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
|
CYGWIN
*
)
FS
=
"/"
;;
Windows_
*
)
FS
=
"
\\
"
;;
esac
case
"
$OS
"
in
Windows
*
|
CYGWIN
*
)
echo
"Creating a temporary RSA keypair in the Windows-My store..."
${
TESTJAVA
}
/bin/
keytool
\
${
TESTJAVA
}
${
FS
}
bin
${
FS
}
keytool
\
-genkeypair
\
-storetype
Windows-My
\
-keyalg
RSA
\
...
...
@@ -59,10 +68,16 @@ case "$OS" in
-dname
"cn=localhost,c=US"
\
-noprompt
if
[
"
$?
"
-ne
"0"
]
;
then
echo
"Unable to generate key pair in Windows-My keystore"
exit
1
fi
echo
echo
"Running the test..."
${
TESTJAVA
}
/bin/javac
-d
.
${
TESTSRC
}
\\
ShortRSAKeyWithinTLS.java
${
TESTJAVA
}
/bin/java ShortRSAKeyWithinTLS 7106773.512 512
\
${
TESTJAVA
}${
FS
}
bin
${
FS
}
javac
-d
.
\
${
TESTSRC
}${
FS
}
ShortRSAKeyWithinTLS.java
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java ShortRSAKeyWithinTLS 7106773.512 512
\
TLSv1.2 TLS_DHE_RSA_WITH_AES_128_CBC_SHA
...
...
@@ -70,12 +85,12 @@ case "$OS" in
echo
echo
"Removing the temporary RSA keypair from the Windows-My store..."
${
TESTJAVA
}
/bin/
keytool
\
${
TESTJAVA
}
${
FS
}
bin
${
FS
}
keytool
\
-delete
\
-storetype
Windows-My
\
-alias
7106773.512
echo
done
.
echo
"Done"
.
exit
$rc
;;
...
...
test/sun/security/mscapi/ShortRSAKey768.sh
浏览文件 @
d35d3692
...
...
@@ -46,11 +46,20 @@ if [ "${TESTJAVA}" = "" ] ; then
fi
OS
=
`
uname
-s
`
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
|
CYGWIN
*
)
FS
=
"/"
;;
Windows_
*
)
FS
=
"
\\
"
;;
esac
case
"
$OS
"
in
Windows
*
|
CYGWIN
*
)
echo
"Creating a temporary RSA keypair in the Windows-My store..."
${
TESTJAVA
}
/bin/
keytool
\
${
TESTJAVA
}
${
FS
}
bin
${
FS
}
keytool
\
-genkeypair
\
-storetype
Windows-My
\
-keyalg
RSA
\
...
...
@@ -59,22 +68,28 @@ case "$OS" in
-dname
"cn=localhost,c=US"
\
-noprompt
if
[
"
$?
"
-ne
"0"
]
;
then
echo
"Unable to generate key pair in Windows-My keystore"
exit
1
fi
echo
echo
"Running the test..."
${
TESTJAVA
}
/bin/javac
-d
.
${
TESTSRC
}
\\
ShortRSAKeyWithinTLS.java
${
TESTJAVA
}
/bin/java ShortRSAKeyWithinTLS 7106773.768 768
\
${
TESTJAVA
}${
FS
}
bin
${
FS
}
javac
-d
.
\
${
TESTSRC
}${
FS
}
ShortRSAKeyWithinTLS.java
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java ShortRSAKeyWithinTLS 7106773.768 768
\
TLSv1.2 TLS_DHE_RSA_WITH_AES_128_CBC_SHA
rc
=
$?
echo
echo
"Removing the temporary RSA keypair from the Windows-My store..."
${
TESTJAVA
}
/bin/
keytool
\
${
TESTJAVA
}
${
FS
}
bin
${
FS
}
keytool
\
-delete
\
-storetype
Windows-My
\
-alias
7106773.768
echo
done
.
echo
"Done"
.
exit
$rc
;;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录