summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-03-26 17:53:59 +0100
committerTomas Mraz <tomas@openssl.org>2021-04-01 14:39:53 +0200
commitb064eebb5080178de9641a0520e2f22b5846e0f3 (patch)
treed9c4fb39f98bce540c149484dc480a8618da1da4 /crypto/evp
parentDrop TODO 3.0 as we cannot get rid of legacy nids in 3.0 (diff)
downloadopenssl-b064eebb5080178de9641a0520e2f22b5846e0f3.tar.xz
openssl-b064eebb5080178de9641a0520e2f22b5846e0f3.zip
EVP_CIPHER_type: fix misleading argument name
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14703)
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/evp_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c
index 48bf99d1f5..31d2a7392b 100644
--- a/crypto/evp/evp_lib.c
+++ b/crypto/evp/evp_lib.c
@@ -267,10 +267,10 @@ int evp_cipher_set_asn1_aead_params(EVP_CIPHER_CTX *c, ASN1_TYPE *type,
#endif /* !defined(FIPS_MODULE) */
/* Convert the various cipher NIDs and dummies to a proper OID NID */
-int EVP_CIPHER_type(const EVP_CIPHER *ctx)
+int EVP_CIPHER_type(const EVP_CIPHER *cipher)
{
int nid;
- nid = EVP_CIPHER_nid(ctx);
+ nid = EVP_CIPHER_nid(cipher);
switch (nid) {