Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
libcore
Commits
977acac8
Commit
977acac8
authored
9 years ago
by
Daniel Xie
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Download
Plain Diff
Merge "Skip TimaKeyStore in KeyStoreTest" into kitkat-cts-dev
parents
19679b0f
9ea5717a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
luni/src/test/java/libcore/java/security/KeyStoreTest.java
luni/src/test/java/libcore/java/security/KeyStoreTest.java
+2
-1
support/src/test/java/libcore/java/security/StandardNames.java
...rt/src/test/java/libcore/java/security/StandardNames.java
+6
-0
No files found.
luni/src/test/java/libcore/java/security/KeyStoreTest.java
View file @
977acac8
...
...
@@ -170,7 +170,8 @@ public class KeyStoreTest extends TestCase {
// Don't bother testing BC on RI
// TODO enable AndroidKeyStore when CTS can set up the keystore
return
(
StandardNames
.
IS_RI
&&
ks
.
getProvider
().
getName
().
equals
(
"BC"
))
||
"AndroidKeyStore"
.
equalsIgnoreCase
(
ks
.
getType
());
||
"AndroidKeyStore"
.
equalsIgnoreCase
(
ks
.
getType
())
||
"TimaKeyStore"
.
equalsIgnoreCase
(
ks
.
getType
());
}
private
static
boolean
isNullPasswordAllowed
(
KeyStore
ks
)
{
...
...
This diff is collapsed.
Click to expand it.
support/src/test/java/libcore/java/security/StandardNames.java
View file @
977acac8
...
...
@@ -504,6 +504,12 @@ public final class StandardNames extends Assert {
if
(
Security
.
getProvider
(
"AndroidKeyStore"
)
!=
null
)
{
provide
(
"KeyStore"
,
"AndroidKeyStore"
);
}
// TimaKeyStore provider
if
(
Security
.
getProvider
(
"TimaKeyStore"
)
!=
null
)
{
provide
(
"KeyStore"
,
"TimaKeyStore"
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment