diff options
author | Mathias Berchtold <mberchtold@gmail.com> | 2019-05-30 07:25:31 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-06-03 13:33:21 +0100 |
commit | bf5b04ea25d6ac7d31e388b4e87d3eb5cd1e1e2b (patch) | |
tree | 1211ee136eeff41555a126d32da71dbeb57f571e /include/openssl | |
parent | cb30e46b45589166a83703f923aa89881dab1e0c (diff) | |
download | openssl-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.h | 2 |
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 |