summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java
index c453e06e..9e47aeb8 100644
--- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java
+++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java
@@ -91,6 +91,7 @@ public abstract class AbstractSMCCSTAL implements STAL {
log.info("Got an error response");
if (++retryCounter < maxRetries) {
log.info("Retrying");
+ signatureCard.reset();
signatureCard = null;
} else {
responseList.add(response);
@@ -108,6 +109,7 @@ public abstract class AbstractSMCCSTAL implements STAL {
log.info("Error while handling STAL request:" + e);
if (++retryCounter < maxRetries) {
log.info("Retrying");
+ signatureCard.reset();
signatureCard = null;
} else {
responseList.add(new ErrorResponse(6000));