summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorMscVZoltan <141750063+MscVZoltan@users.noreply.github.com>2023-08-09 08:43:40 +0200
committerTomas Mraz <tomas@openssl.org>2023-08-10 13:26:51 +0200
commit420a0874db8a6b0070d4820e81e82bf48412d7da (patch)
tree985ad0686d99554f0776b136128e364b339a63b9 /crypto/evp
parent13342efbb9e16ec8f97b1ac5ab4aa2b3b3490596 (diff)
Don't use C++ reserved word template for function arguments
CLA: trivial Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21692)
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/keymgmt_meth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/keymgmt_meth.c b/crypto/evp/keymgmt_meth.c
index 0f767eaddb..882c068a71 100644
--- a/crypto/evp/keymgmt_meth.c
+++ b/crypto/evp/keymgmt_meth.c
@@ -346,7 +346,7 @@ void *evp_keymgmt_gen_init(const EVP_KEYMGMT *keymgmt, int selection,
}
int evp_keymgmt_gen_set_template(const EVP_KEYMGMT *keymgmt, void *genctx,
- void *template)
+ void *templ)
{
/*
* It's arguable if we actually should return success in this case, as
@@ -356,7 +356,7 @@ int evp_keymgmt_gen_set_template(const EVP_KEYMGMT *keymgmt, void *genctx,
*/
if (keymgmt->gen_set_template == NULL)
return 1;
- return keymgmt->gen_set_template(genctx, template);
+ return keymgmt->gen_set_template(genctx, templ);
}
int evp_keymgmt_gen_set_params(const EVP_KEYMGMT *keymgmt, void *genctx,