GH102: Add volatile to CRYPTO_memcmp
authorRich Salz <rsalz@akamai.com>
Fri, 29 Jan 2016 17:09:05 +0000 (12:09 -0500)
committerRich Salz <rsalz@openssl.org>
Sat, 30 Jan 2016 19:37:43 +0000 (14:37 -0500)
commit98ab57644f44d2d83595c2d0f69138a284d6096b
tree5ec5e8ff62efd3bae592e6b59aab422ce25badfc
parentc10d1bc81cb047cbd53f8cc430632b6a4a70252d
GH102: Add volatile to CRYPTO_memcmp

Can't hurt and seems to prevent problems from some over-aggressive
(LTO?) compilers.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/cryptlib.c
include/openssl/crypto.h