From bf5b04ea25d6ac7d31e388b4e87d3eb5cd1e1e2b Mon Sep 17 00:00:00 2001 From: Mathias Berchtold Date: Thu, 30 May 2019 07:25:31 +0200 Subject: [PATCH] Add missing parentheses in macro Add missing parentheses in macro Reviewed-by: Richard Levitte Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/9044) --- include/openssl/opensslv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1