diff options
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/valgrind.patch')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/valgrind.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/valgrind.patch b/meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/valgrind.patch new file mode 100644 index 0000000000..e9f86eabbf --- /dev/null +++ b/meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/valgrind.patch @@ -0,0 +1,15 @@ +Index: openssl-0.9.8k/crypto/rand/md_rand.c +=================================================================== +--- openssl-0.9.8k.orig/crypto/rand/md_rand.c 2008-09-16 13:50:05.000000000 +0200 ++++ openssl-0.9.8k/crypto/rand/md_rand.c 2009-07-19 11:36:05.000000000 +0200 +@@ -477,8 +477,10 @@ + MD_Update(&m,local_md,MD_DIGEST_LENGTH); + MD_Update(&m,(unsigned char *)&(md_c[0]),sizeof(md_c)); + #ifndef PURIFY ++#if 0 /* Don't add uninitialised data. */ + MD_Update(&m,buf,j); /* purify complains */ + #endif ++#endif + k=(st_idx+MD_DIGEST_LENGTH/2)-st_num; + if (k > 0) + { |