From d3a5b29a0ca8840c26a361b423da8e691241002f03767fc3d3bb10f2b3d4bd43 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Thu, 20 Aug 2020 14:16:20 +0000 Subject: [PATCH] Accepting request 828202 from home:michals OBS-URL: https://build.opensuse.org/request/show/828202 OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=21 --- ibmswtpm2-fix-empty-decrypt.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 ibmswtpm2-fix-empty-decrypt.patch diff --git a/ibmswtpm2-fix-empty-decrypt.patch b/ibmswtpm2-fix-empty-decrypt.patch deleted file mode 100644 index 3f55682..0000000 --- a/ibmswtpm2-fix-empty-decrypt.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: ibmswtpm2-1119/src/CryptRsa.c -=================================================================== ---- ibmswtpm2-1119.orig/src/CryptRsa.c -+++ ibmswtpm2-1119/src/CryptRsa.c -@@ -469,7 +469,7 @@ RSAES_Decode( - pSize++; - // Make sure that pSize has not gone over the end and that there are at least 8 - // bytes of pad data. -- fail = (pSize >= coded->size) | fail; -+ fail = (pSize > coded->size) | fail; - fail = ((pSize - 2) < 8) | fail; - if((message->size < (UINT16)(coded->size - pSize)) || fail) - return TPM_RC_VALUE;