Fix datarace reported by valgrind/helgrind
authorRussell Coker <russell@coker.com.au>
Thu, 25 Jun 2009 05:59:32 +0000 (15:59 +1000)
committerKurt Roeckx <kurt@roeckx.be>
Mon, 10 Nov 2014 17:34:11 +0000 (18:34 +0100)
commitf8ae603238ca4daf1ae40ac965e044e4be53102b
treee9ac6a11111c751478f88714e70174323c18e32d
parentbfc973f46c54b403a3049986d352223929ba812b
Fix datarace reported by valgrind/helgrind

This doesn't really fix the datarace but changes it so it can only happens
once. This isn't really a problem since we always just set it to the same
value. We now just stop writing it after the first time.

PR3584, https://bugs.debian.org/534534

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/mem.c