aboutsummaryrefslogtreecommitdiffstats
path: root/include/openssl
diff options
context:
space:
mode:
authorMathias Berchtold <mberchtold@gmail.com>2019-05-30 07:25:31 +0200
committerMatt Caswell <matt@openssl.org>2019-06-03 13:33:21 +0100
commitbf5b04ea25d6ac7d31e388b4e87d3eb5cd1e1e2b (patch)
tree1211ee136eeff41555a126d32da71dbeb57f571e /include/openssl
parentcb30e46b45589166a83703f923aa89881dab1e0c (diff)
downloadopenssl-bf5b04ea25d6ac7d31e388b4e87d3eb5cd1e1e2b.tar.gz
Add missing parentheses in macro
Add missing parentheses in macro Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9044)
Diffstat (limited to 'include/openssl')
-rw-r--r--include/openssl/opensslv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/opensslv.h b/include/openssl/opensslv.h
index 73e64a722d..0219d5fd67 100644
--- a/include/openssl/opensslv.h
+++ b/include/openssl/opensslv.h
@@ -78,7 +78,7 @@ extern "C" {
/* For checking general API compatibility when preprocessing */
# define OPENSSL_VERSION_PREREQ(maj,min) \
- ((OPENSSL_VERSION_MAJOR << 16) + OPENSSL_VERSION_MINOR >= (maj << 16) + min)
+ ((OPENSSL_VERSION_MAJOR << 16) + OPENSSL_VERSION_MINOR >= ((maj) << 16) + (min))
/* Helper macros for CPP string composition */
# define OPENSSL_MSTR_HELPER(x) #x