diff --git a/lib/src/org/transdroid/daemon/util/FakeTrustManager.java b/lib/src/org/transdroid/daemon/util/FakeTrustManager.java index 160f7035..bbb7bffc 100644 --- a/lib/src/org/transdroid/daemon/util/FakeTrustManager.java +++ b/lib/src/org/transdroid/daemon/util/FakeTrustManager.java @@ -33,7 +33,7 @@ public class FakeTrustManager implements X509TrustManager { // Otherwise, we have a certKey defined. We should now examine the one we got from the server. // They match? All is good. They don't, throw an exception. - String our_key = this.certKey.replaceAll("[^a-f0-9]+", ""); + String our_key = this.certKey.replaceAll("[^a-fA-F0-9]+", ""); try { //Assume self-signed root is okay? X509Certificate ss_cert = chain[0];