Matt Caswell 5a0df377ac Fixed valgrind complaint due to BN_consttime_swap reading uninitialised data.
This is actually ok for this function, but initialised to zero anyway if
PURIFY defined.

This does have the impact of masking any *real* unitialised data reads in bn though.

Patch based on approach suggested by Rich Salz.

PR#3415

(cherry picked from commit 77747e2d9a5573b1dbc15e247ce18c03374c760c)
2014-07-13 22:25:53 +01:00
..
2014-07-04 18:44:24 +01:00
2013-10-01 15:26:14 +01:00
2009-12-22 11:45:59 +00:00
2014-05-29 14:12:13 +01:00
2011-02-03 12:04:40 +00:00
2010-05-26 23:23:44 +00:00
2009-09-06 15:49:12 +00:00
2011-06-20 20:05:38 +00:00
2014-06-02 13:53:51 +01:00
2012-10-05 20:51:31 +00:00
2012-10-05 20:51:31 +00:00
2013-01-20 01:12:15 +00:00
2014-06-27 22:59:13 +01:00
2011-05-19 17:39:49 +00:00
2014-06-28 00:06:47 +01:00
2009-12-09 15:00:20 +00:00
2007-08-31 10:12:35 +00:00
2006-02-04 01:45:59 +00:00
2013-02-05 16:46:21 +00:00
2014-07-06 00:36:10 +01:00
2014-05-29 14:12:13 +01:00
2009-02-14 21:49:38 +00:00
2014-07-05 22:38:56 +01:00
2008-12-23 11:33:01 +00:00
2014-06-05 10:42:13 +01:00
2009-02-19 09:42:51 +00:00
2014-04-22 22:52:26 +01:00
2014-04-15 18:53:14 +01:00
2011-08-12 12:32:10 +00:00
2013-02-05 16:46:15 +00:00
2000-02-01 02:21:16 +00:00
2006-10-23 07:41:05 +00:00
2007-06-23 18:47:51 +00:00
2009-04-16 17:22:51 +00:00
2009-06-01 12:14:15 +00:00
2014-06-05 10:43:52 +01:00
2008-11-11 12:23:18 +00:00
2014-01-11 22:42:15 +00:00
2003-11-28 13:10:58 +00:00