diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2017-02-27 13:59:05 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2017-02-27 13:59:05 +0100 |
commit | c462ee197210016dc7f3ae84683b826201806685 (patch) | |
tree | f05fa9d5856a24285ebf5e3f1a83e701e889a409 /moaSig/moa-sig-lib | |
parent | 6afbab4c598bb0ce34bde260c2afcb40ca095e1e (diff) | |
download | moa-sig-c462ee197210016dc7f3ae84683b826201806685.tar.gz moa-sig-c462ee197210016dc7f3ae84683b826201806685.tar.bz2 moa-sig-c462ee197210016dc7f3ae84683b826201806685.zip |
check if stream object is closed
Diffstat (limited to 'moaSig/moa-sig-lib')
-rw-r--r-- | moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java index 6355f04..3f1ae37 100644 --- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java +++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java @@ -208,6 +208,10 @@ public class CMSSignatureVerificationInvoker { try { if (signedContent != null) signedContent.close(); + + if (signature != null) + signature.close(); + } catch (Throwable t) { // Intentionally do nothing here } |