NVV: Remove HTTPS security downgrade that was necessary because of a misconfigured server.

This commit is contained in:
Andreas Schildbach 2017-08-31 11:27:35 +02:00
parent 100b4fa4ac
commit 8604db22da

View file

@ -45,8 +45,6 @@ public class NvvProvider extends AbstractHafasLegacyProvider {
setRequestUrlEncoding(Charsets.UTF_8);
setJsonNearbyLocationsEncoding(Charsets.UTF_8);
httpClient.setSslAcceptAllHostnames(true);
httpClient.setTrustAllCertificates(true);
}
private static final String[] PLACES = { "Frankfurt (Main)", "Offenbach (Main)", "Mainz", "Wiesbaden", "Marburg",