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