From c406d4ab6f64ea281ed33bebde86fc8defd0c64d Mon Sep 17 00:00:00 2001 From: Daniel Xie Date: Tue, 21 Jul 2015 17:30:51 -0700 Subject: DO NOT MERGE ANYWHERE: reverting 18432707 to kitkat-cts-dev due to missing CVE Change-Id: I5688b4a658cef3b0822bfd9fc9ac0631abf6d733 --- .../test/java/libcore/javax/net/ssl/DefaultHostnameVerifierTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/luni/src/test/java/libcore/javax/net/ssl/DefaultHostnameVerifierTest.java b/luni/src/test/java/libcore/javax/net/ssl/DefaultHostnameVerifierTest.java index feecebe..e1c9fe3 100644 --- a/luni/src/test/java/libcore/javax/net/ssl/DefaultHostnameVerifierTest.java +++ b/luni/src/test/java/libcore/javax/net/ssl/DefaultHostnameVerifierTest.java @@ -114,18 +114,15 @@ public final class DefaultHostnameVerifierTest extends TestCase { public void testWildcardMatchesWildcardSuffix() { assertTrue(verifier.verifyHostName("b.c.d", "*.b.c.d")); assertTrue(verifier.verifyHostName("imap.google.com", "*.imap.google.com")); - assertFalse(verifier.verifyHostName("imap.google.com.au", "*.imap.google.com")); } public void testWildcardMatchingSubstring() { assertTrue(verifier.verifyHostName("b.c.d", "b*.c.d")); assertTrue(verifier.verifyHostName("imap.google.com", "ima*.google.com")); - assertFalse(verifier.verifyHostName("imap.google.com.au", "ima*.google.com")); } public void testWildcardMatchingEmptySubstring() { assertTrue(verifier.verifyHostName("imap.google.com", "imap*.google.com")); - assertFalse(verifier.verifyHostName("imap.google.com.au", "imap*.google.com")); } public void testWildcardMatchesChildDomain() { -- cgit v1.1