summaryrefslogtreecommitdiff
path: root/bkucommon/src
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2016-11-03 16:17:03 +0100
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2016-11-03 16:17:03 +0100
commit33dfef091acd2d28e68658c8e0bcb4e67027d1e1 (patch)
tree220e38349c809d87bd2a91a8767033aeff81f71b /bkucommon/src
parent0022a997e90bb9554b62853222b4aad7fbde1e11 (diff)
downloadmocca-33dfef091acd2d28e68658c8e0bcb4e67027d1e1.tar.gz
mocca-33dfef091acd2d28e68658c8e0bcb4e67027d1e1.tar.bz2
mocca-33dfef091acd2d28e68658c8e0bcb4e67027d1e1.zip
Workaround for finding EC OID if ECCelerate not loaded first
Diffstat (limited to 'bkucommon/src')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/IdentityLinkInfoboxImpl.java4
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/IdentityLinkInfoboxImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/IdentityLinkInfoboxImpl.java
index b2643d8e..f1032f7f 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/IdentityLinkInfoboxImpl.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/IdentityLinkInfoboxImpl.java
@@ -60,7 +60,7 @@ import at.gv.egiz.bku.slexceptions.SLCommandException;
import at.gv.egiz.bku.slexceptions.SLExceptionMessages;
import at.gv.egiz.bku.slexceptions.SLRuntimeException;
import at.gv.egiz.idlink.CompressedIdentityLinkFactory;
-import at.gv.egiz.idlink.ans1.IdentityLink;
+import at.gv.egiz.idlink.asn1.IdentityLink;
import at.gv.egiz.stal.InfoboxReadRequest;
import at.gv.egiz.stal.STALRequest;
@@ -216,7 +216,7 @@ public class IdentityLinkInfoboxImpl extends AbstractBinaryFileInfobox {
xmlResult = new StreamResult(resultBytes);
}
}
-
+
try {
log.trace("Trying to transform identitylink");
identityLinkTransformer.transformIdLink(issuerTemplate, new DOMSource(document), xmlResult);
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java
index 384521df..d521dd37 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java
@@ -46,7 +46,7 @@ import org.slf4j.LoggerFactory;
import at.gv.egiz.bku.slexceptions.SLCommandException;
import at.gv.egiz.bku.slexceptions.SLExceptionMessages;
import at.gv.egiz.bku.slexceptions.SLRuntimeException;
-import at.gv.egiz.idlink.ans1.IdentityLink;
+import at.gv.egiz.idlink.asn1.IdentityLink;
import at.gv.egiz.stal.ErrorResponse;
import at.gv.egiz.stal.InfoboxReadResponse;
import at.gv.egiz.stal.STAL;
@@ -198,7 +198,7 @@ public class STALHelper {
writer.write("\n-----END CERTIFICATE-----");
writer.flush();
} catch (IOException e1) {
- log.info("Failed to decode certificate.", e);
+ log.debug("Failed to decode certificate.", e1);
}
log.debug("Failed to decode certificate.\n{}", certDump.toString(), e);
} else {