Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
b61df498
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看板
提交
b61df498
编写于
5月 08, 2012
作者:
V
valeriep
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
cfabf08d
8cfbcde8
变更
3
展开全部
显示空白变更内容
内联
并排
Showing
3 changed file
with
567 addition
and
18 deletion
+567
-18
src/share/classes/sun/security/ssl/SSLContextImpl.java
src/share/classes/sun/security/ssl/SSLContextImpl.java
+11
-17
src/share/classes/sun/security/validator/SimpleValidator.java
...share/classes/sun/security/validator/SimpleValidator.java
+1
-1
test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/BasicConstraints.java
...l/internal/ssl/X509TrustManagerImpl/BasicConstraints.java
+555
-0
未找到文件。
src/share/classes/sun/security/ssl/SSLContextImpl.java
浏览文件 @
b61df498
...
...
@@ -276,41 +276,35 @@ public abstract class SSLContextImpl extends SSLContextSpi {
supportedCipherSuiteList
=
getApplicableCipherSuiteList
(
getSuportedProtocolList
(),
false
);
}
}
return
supportedCipherSuiteList
;
}
}
// Get default CipherSuiteList.
CipherSuiteList
getDefaultCipherSuiteList
(
boolean
roleIsServer
)
{
if
(
roleIsServer
)
{
// The maintenance of cipher suites needs to be synchronized.
synchronized
(
this
)
{
// Clear cache of available ciphersuites.
clearAvailableCache
();
if
(
roleIsServer
)
{
if
(
defaultServerCipherSuiteList
==
null
)
{
defaultServerCipherSuiteList
=
getApplicableCipherSuiteList
(
getDefaultProtocolList
(
true
),
true
);
}
}
return
defaultServerCipherSuiteList
;
}
else
{
// The maintenance of cipher suites needs to be synchronized
synchronized
(
this
)
{
// Clear cache of available ciphersuites.
clearAvailableCache
();
if
(
defaultClientCipherSuiteList
==
null
)
{
defaultClientCipherSuiteList
=
getApplicableCipherSuiteList
(
getDefaultProtocolList
(
false
),
true
);
}
}
return
defaultClientCipherSuiteList
;
}
}
}
/**
* Return whether a protocol list is the original default enabled
...
...
src/share/classes/sun/security/validator/SimpleValidator.java
浏览文件 @
b61df498
...
...
@@ -311,7 +311,7 @@ public final class SimpleValidator extends Validator {
// if the certificate is self-issued, ignore the pathLenConstraint
// checking.
if
(!
X509CertImpl
.
isSelfIssued
(
cert
))
{
if
(
maxPathLen
<=
1
)
{
// reserved one for end-entity certificate
if
(
maxPathLen
<=
0
)
{
throw
new
ValidatorException
(
"Violated path length constraints"
,
ValidatorException
.
T_CA_EXTENSIONS
,
cert
);
}
...
...
test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/BasicConstraints.java
0 → 100644
浏览文件 @
b61df498
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录