aboutsummaryrefslogtreecommitdiffstats
path: root/testing/softhsm/softhsm-2.5.0-botan_ecb-exception-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/softhsm/softhsm-2.5.0-botan_ecb-exception-fix.patch')
-rw-r--r--testing/softhsm/softhsm-2.5.0-botan_ecb-exception-fix.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/testing/softhsm/softhsm-2.5.0-botan_ecb-exception-fix.patch b/testing/softhsm/softhsm-2.5.0-botan_ecb-exception-fix.patch
deleted file mode 100644
index a71081e0ee..0000000000
--- a/testing/softhsm/softhsm-2.5.0-botan_ecb-exception-fix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit a9a40fc64635cfb924279cae3c42e6946e89718c
-Author: tcely <tcely@users.noreply.github.com>
-Date: Wed Mar 6 07:14:32 2019 -0500
-
- fix protected Exception usage
-
-diff --git a/src/lib/crypto/Botan_ecb.cpp b/src/lib/crypto/Botan_ecb.cpp
-index f27276e..6947aab 100644
---- a/src/lib/crypto/Botan_ecb.cpp
-+++ b/src/lib/crypto/Botan_ecb.cpp
-@@ -108,7 +108,7 @@ void ECB_Encryption::finish(secure_vector<byte>& buffer, size_t offset)
- padding().add_padding(buffer, bytes_in_final_block, BS);
-
- if(buffer.size() % BS)
-- throw Exception("Did not pad to full block size in " + name());
-+ throw Invalid_State("Did not pad to full block size in " + name());
-
- update(buffer, offset);
- }