"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java" between
httpcomponents-client-4.5.6-src.tar.gz and httpcomponents-client-4.5.7-src.tar.gz

About: HttpComponents is an Apache project responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols. Java sources.

TestHostnameVerifier.java  (httpcomponents-client-4.5.6-src):TestHostnameVerifier.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 43 skipping to change at line 43
import java.security.cert.X509Certificate; import java.security.cert.X509Certificate;
import java.util.Arrays; import java.util.Arrays;
import javax.net.ssl.SSLException; import javax.net.ssl.SSLException;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
/** /**
* Unit tests for deprecated {@link X509HostnameVerifier} implementations. * Unit tests for deprecated {@link X509HostnameVerifier} implementations.
*
* @deprecated Tests deprecated code.
*/ */
@Deprecated @Deprecated
public class TestHostnameVerifier { public class TestHostnameVerifier {
@Test @Test
public void testVerify() throws Exception { public void testVerify() throws Exception {
final X509HostnameVerifier DEFAULT = new BrowserCompatHostnameVerifier() ; final X509HostnameVerifier DEFAULT = new BrowserCompatHostnameVerifier() ;
final X509HostnameVerifier STRICT = new StrictHostnameVerifier(); final X509HostnameVerifier STRICT = new StrictHostnameVerifier();
final X509HostnameVerifier ALLOW_ALL = new AllowAllHostnameVerifier(); final X509HostnameVerifier ALLOW_ALL = new AllowAllHostnameVerifier();
final CertificateFactory cf = CertificateFactory.getInstance("X.509"); final CertificateFactory cf = CertificateFactory.getInstance("X.509");
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)