summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorOliver Roberts <oliver@futaura.co.uk>2022-03-12 14:39:01 +0000
committerTomas Mraz <tomas@openssl.org>2022-03-15 12:58:37 +0100
commitef9909f3c6471ba39be1e3d18a366044cbf30a19 (patch)
tree540faed0d2dd552c06d72e1b83e9be9f000da3b9 /crypto
parentb9a2f24e44f53c7c3a63a7f7b165e8267cbdda42 (diff)
Fixed typo in inner_evp_generic_fetch() error handling
Fixes #17876 CLA: trivial Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17877)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/evp/evp_fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/evp_fetch.c b/crypto/evp/evp_fetch.c
index ea32cd5dd2..3066e0b0d4 100644
--- a/crypto/evp/evp_fetch.c
+++ b/crypto/evp/evp_fetch.c
@@ -349,7 +349,7 @@ inner_evp_generic_fetch(struct evp_method_data_st *methdata,
ERR_raise_data(ERR_LIB_EVP, code,
"%s, Algorithm (%s : %d), Properties (%s)",
ossl_lib_ctx_get_descriptor(methdata->libctx),
- name = NULL ? "<null>" : name, name_id,
+ name == NULL ? "<null>" : name, name_id,
properties == NULL ? "<null>" : properties);
}