From: Oliver Roberts Date: Sat, 12 Mar 2022 14:39:01 +0000 (+0000) Subject: Fixed typo in inner_evp_generic_fetch() error handling X-Git-Tag: openssl-3.2.0-alpha1~2846 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef9909f3c6471ba39be1e3d18a366044cbf30a19;p=thirdparty%2Fopenssl.git 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) --- diff --git a/crypto/evp/evp_fetch.c b/crypto/evp/evp_fetch.c index ea32cd5dd23..3066e0b0d4a 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); }