]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix up issue on AIX caused by broken compiler handling of macro expansion
authorJon Spillett <jon.spillett@oracle.com>
Tue, 8 Sep 2020 00:33:28 +0000 (10:33 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Wed, 9 Sep 2020 09:08:59 +0000 (19:08 +1000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12812)

providers/baseprov.c
providers/defltprov.c

index 38d9090bb3419fba2208b2231234854c376e514f..e9502f68cd235db8b74c345e6b1fa5b0d7d2c2ca 100644 (file)
@@ -87,8 +87,8 @@ static const OSSL_ALGORITHM base_decoder[] = {
 #undef DECODER
 
 static const OSSL_ALGORITHM base_store[] = {
-#define STORE(name, fips, func_table)                           \
-    { name, "provider=base,fips=" fips, (func_table) },
+#define STORE(name, _fips, func_table)                           \
+    { name, "provider=base,fips=" _fips, (func_table) },
 
 #include "stores.inc"
     { NULL, NULL, NULL }
index beaf60bb1e69ea8b7a6b26ac36e5eacfab175e68..371d942f4a75118bea891dad5c1cc54915565de8 100644 (file)
@@ -434,8 +434,8 @@ static const OSSL_ALGORITHM deflt_decoder[] = {
 #undef DECODER
 
 static const OSSL_ALGORITHM deflt_store[] = {
-#define STORE(name, fips, func_table)                           \
-    { name, "provider=default,fips=" fips, (func_table) },
+#define STORE(name, _fips, func_table)                           \
+    { name, "provider=default,fips=" _fips, (func_table) },
 
 #include "stores.inc"
     { NULL, NULL, NULL }