Fixed typo in inner_evp_generic_fetch() error handling
[openssl.git] / crypto / evp / evp_fetch.c
index ea32cd5dd2380a7823bd5e70b57f6f658dd56ca4..3066e0b0d4a8af54261ed4eb9261c8a97330d0d6 100644 (file)
@@ -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);
     }