From 3590079d2f691db771670e55003e208a3d091060 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Sun, 12 Dec 2021 15:28:31 +0100 Subject: update third-party libs --- pom.xml | 15 +++++++++------ src/test/java/at/gv/util/demo/ZuseSSLTest.java | 10 +++++----- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 561b23e..ecb85c5 100644 --- a/pom.xml +++ b/pom.xml @@ -15,6 +15,8 @@ 3.4.4 1.7.32 + 2.15.0 + 4.5.13 3.2.2 2.6 @@ -308,13 +310,14 @@ iaik_ecc_signed ${iaik_ecc.version} test - + - org.slf4j - slf4j-log4j12 - ${org.slf4j.version} - test - + org.apache.logging.log4j + log4j-slf4j-impl + ${log4j.version} + test + + iaik.prod iaik_jce_full diff --git a/src/test/java/at/gv/util/demo/ZuseSSLTest.java b/src/test/java/at/gv/util/demo/ZuseSSLTest.java index 516c228..cecbc19 100644 --- a/src/test/java/at/gv/util/demo/ZuseSSLTest.java +++ b/src/test/java/at/gv/util/demo/ZuseSSLTest.java @@ -30,7 +30,6 @@ import org.apache.http.ssl.PrivateKeyDetails; import org.apache.http.ssl.PrivateKeyStrategy; import org.apache.http.ssl.SSLContextBuilder; import org.apache.http.util.EntityUtils; -import org.apache.log4j.lf5.util.StreamUtils; import at.gv.util.xsd.szr.pvp.sec.Security; @@ -132,10 +131,11 @@ public class ZuseSSLTest { System.out.println("HTTP StatusCode: " + response.getStatusLine().getStatusCode()); - if (response.getEntity().getContent() != null ) - System.out.println("Body: " + org.apache.commons.codec.binary.StringUtils.newStringUtf8(StreamUtils.getBytes(response.getEntity().getContent()))); - - + if (response.getEntity().getContent() != null ) { + System.out.println("Body: " + + EntityUtils.toString(response.getEntity())); + + } System.out.println("Test finished"); } catch (Exception e) { -- cgit v1.2.3