diff options
Diffstat (limited to 'sys-block/open-iscsi/files/open-iscsi-2.0.873-memset.patch')
-rw-r--r-- | sys-block/open-iscsi/files/open-iscsi-2.0.873-memset.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sys-block/open-iscsi/files/open-iscsi-2.0.873-memset.patch b/sys-block/open-iscsi/files/open-iscsi-2.0.873-memset.patch deleted file mode 100644 index c56669192f09..000000000000 --- a/sys-block/open-iscsi/files/open-iscsi-2.0.873-memset.patch +++ /dev/null @@ -1,24 +0,0 @@ -clear the size of the storage, not the size of the pointer - ---- a/usr/md5.c -+++ b/usr/md5.c -@@ -127,7 +127,7 @@ MD5Final(md5byte digest[16], struct MD5Context *ctx) - - byteSwap(ctx->buf, 4); - memcpy(digest, ctx->buf, 16); -- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ -+ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */ - } - - #ifndef ASM_MD5 ---- a/utils/md5.c -+++ b/utils/md5.c -@@ -133,7 +133,7 @@ MD5Final(md5byte digest[16], struct MD5Context *ctx) - - byteSwap(ctx->buf, 4); - memcpy(digest, ctx->buf, 16); -- memset(ctx, 0, sizeof (ctx)); /* In case it's sensitive */ -+ memset(ctx, 0, sizeof (*ctx)); /* In case it's sensitive */ - } - - #ifndef ASM_MD5 |