summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2014-10-17 23:43:02 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-10-17 23:43:02 +0000
commit65e04e1efb262a07890b4b99a8c0aa997bea06ca (patch)
tree4cf7bf5db5b30d9faa73bc9a6977496a5d9a0c1f
parent1f7fcec1e92df937952e9996a7fc42947501e1d9 (diff)
parent218699c1451b91c24d6f65c8b25cf7ac8fffbf7f (diff)
downloadlibcore-65e04e1efb262a07890b4b99a8c0aa997bea06ca.zip
libcore-65e04e1efb262a07890b4b99a8c0aa997bea06ca.tar.gz
libcore-65e04e1efb262a07890b4b99a8c0aa997bea06ca.tar.bz2
Merge "Track change to bouncycastle"
-rw-r--r--luni/src/test/java/com/android/org/bouncycastle/jce/provider/CertBlacklistTest.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/luni/src/test/java/com/android/org/bouncycastle/jce/provider/CertBlacklistTest.java b/luni/src/test/java/com/android/org/bouncycastle/jce/provider/CertBlacklistTest.java
index 6d033d3..83d9478 100644
--- a/luni/src/test/java/com/android/org/bouncycastle/jce/provider/CertBlacklistTest.java
+++ b/luni/src/test/java/com/android/org/bouncycastle/jce/provider/CertBlacklistTest.java
@@ -133,7 +133,7 @@ public class CertBlacklistTest extends TestCase {
private Set<String> getPubkeyBlacklist(String path) throws IOException {
// set our blacklist path
- CertBlacklist bl = new CertBlacklist(path, CertBlacklist.DEFAULT_SERIAL_BLACKLIST_PATH);
+ CertBlacklist bl = new CertBlacklist(path, "");
// call readPubkeyBlacklist
Set<byte[]> arr = bl.pubkeyBlacklist;
// convert the results to a hashset of strings
@@ -146,7 +146,7 @@ public class CertBlacklistTest extends TestCase {
private Set<String> getSerialBlacklist(String path) throws IOException {
// set our blacklist path
- CertBlacklist bl = new CertBlacklist(CertBlacklist.DEFAULT_PUBKEY_BLACKLIST_PATH, path);
+ CertBlacklist bl = new CertBlacklist("", path);
// call readPubkeyBlacklist
Set<BigInteger> arr = bl.serialBlacklist;
// convert the results to a hashset of strings
@@ -231,8 +231,7 @@ public class CertBlacklistTest extends TestCase {
// write that to the test blacklist
writeBlacklist(new HashSet<String>());
// set our blacklist path
- CertBlacklist bl = new CertBlacklist(tmpFile.getCanonicalPath(),
- CertBlacklist.DEFAULT_SERIAL_BLACKLIST_PATH);
+ CertBlacklist bl = new CertBlacklist(tmpFile.getCanonicalPath(), "");
// check to make sure it isn't blacklisted
assertEquals(bl.isPublicKeyBlackListed(pk), false);
}
@@ -247,8 +246,7 @@ public class CertBlacklistTest extends TestCase {
testBlackList.add(hash);
writeBlacklist(testBlackList);
// set our blacklist path
- CertBlacklist bl = new CertBlacklist(tmpFile.getCanonicalPath(),
- CertBlacklist.DEFAULT_SERIAL_BLACKLIST_PATH);
+ CertBlacklist bl = new CertBlacklist(tmpFile.getCanonicalPath(), "");
// check to make sure it isn't blacklited
assertTrue(bl.isPublicKeyBlackListed(pk));
}