summaryrefslogtreecommitdiff
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:59:12 +0100
commit4b51d6534accc1ae71d9f6e28266e27452382292 (patch)
treed108e1752984fc28d6a177fdc79ac9937f604756
parent43646286c0d6c9c50dc356185c89fe9cc56b2fcb (diff)
downloadopenssl-new-4b51d6534accc1ae71d9f6e28266e27452382292.tar.gz
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) (cherry picked from commit ef9909f3c6471ba39be1e3d18a366044cbf30a19)
-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);
}