aboutsummaryrefslogtreecommitdiffstats
path: root/include/openssl
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2017-02-21 22:20:34 +0100
committerKurt Roeckx <kurt@roeckx.be>2017-03-19 14:33:54 +0100
commit497910833e6992b4b8645900f2086a56f5557424 (patch)
tree84f501d094ee321cfebcf0a333df1b1a4c879552 /include/openssl
parent39176d44248ed5581ecd1e05bb9385e28a3d803b (diff)
downloadopenssl-497910833e6992b4b8645900f2086a56f5557424.tar.gz
Make the CRYPTO_memcmp() prototype match memcmp()
Reviewed-by: Andy Polyakov <appro@openssl.org> GH: #2633
Diffstat (limited to 'include/openssl')
-rw-r--r--include/openssl/crypto.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h
index 8ee3e8aec6..3b75dbe577 100644
--- a/include/openssl/crypto.h
+++ b/include/openssl/crypto.h
@@ -347,9 +347,7 @@ int OPENSSL_gmtime_diff(int *pday, int *psec,
* into a defined order as the return value when a != b is undefined, other
* than to be non-zero.
*/
-int CRYPTO_memcmp(const volatile void * volatile in_a,
- const volatile void * volatile in_b,
- size_t len);
+int CRYPTO_memcmp(const void * in_a, const void * in_b, size_t len);
/* Standard initialisation options */
# define OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS 0x00000001L