Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11225)
ERR_print_errors(bio_err);
goto end;
}
-
+
if (!EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, num)) {
BIO_printf(bio_err, "Error, unable to set DH prime length\n");
ERR_print_errors(bio_err);
}
}
} else {
-
in = bio_open_default(infile, 'r', informat);
if (in == NULL)
goto end;
goto end;
}
}
-
/* dh != NULL */
}