Fix coverity CID - Remove dead code.
@@ -69,7 +69,6 @@ static int ossl_prov_print_ec_param_explicit_gen(BIO *out,
|| EC_POINT_point2bn(group, point, form, gen, ctx) == NULL)
return 0;
- if (gen != NULL) {
switch (form) {
case POINT_CONVERSION_COMPRESSED:
glabel = "Generator (compressed):";
@@ -85,8 +84,6 @@ static int ossl_prov_print_ec_param_explicit_gen(BIO *out,
}
return ossl_prov_print_labeled_bignum(out, glabel, gen);
}
- return 1;
-}
/* Print explicit parameters */
static int ossl_prov_print_ec_param_explicit(BIO *out, const EC_GROUP *group,
