diff options
Diffstat (limited to 'security/mhash/files/patch-lib-mhash.c')
| -rw-r--r-- | security/mhash/files/patch-lib-mhash.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/security/mhash/files/patch-lib-mhash.c b/security/mhash/files/patch-lib-mhash.c new file mode 100644 index 000000000000..259133ef6688 --- /dev/null +++ b/security/mhash/files/patch-lib-mhash.c @@ -0,0 +1,12 @@ +diff -urN -x .svn ../../branches/vendor/mhash/lib/mhash.c ./lib/mhash.c +--- ../../branches/vendor/mhash/lib/mhash.c 2008-01-16 14:26:51.000000000 +0200 ++++ ./lib/mhash.c 2008-01-16 15:22:29.000000000 +0200 +@@ -299,7 +299,7 @@ + { + ret->hmac_key = (mutils_word8 *) mutils_malloc(ret->hmac_key_size); + +- if (ret == NULL) ++ if (ret->hmac_key == NULL) + { + mutils_free(ret->state); + mutils_free(ret); |
