From ef9909f3c6471ba39be1e3d18a366044cbf30a19 Mon Sep 17 00:00:00 2001 From: Oliver Roberts Date: Sat, 12 Mar 2022 14:39:01 +0000 Subject: Fixed typo in inner_evp_generic_fetch() error handling Fixes #17876 CLA: trivial Reviewed-by: Tim Hudson Reviewed-by: Matthias St. Pierre Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17877) --- crypto/evp/evp_fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ? "" : name, name_id, + name == NULL ? "" : name, name_id, properties == NULL ? "" : properties); } -- cgit v1.2.3