const char *infile = NULL;
int out_bin = 0;
int inform = FORMAT_BINARY;
+ OSSL_PARAM *params = NULL;
prog = opt_init(argc, argv, mac_options);
buf = app_malloc(BUFSIZE, "I/O buffer");
if (opts != NULL) {
int ok = 1;
- OSSL_PARAM *params =
- app_params_new_from_opts(opts, EVP_MAC_settable_ctx_params(mac));
+ params = app_params_new_from_opts(opts,
+ EVP_MAC_settable_ctx_params(mac));
if (params == NULL)
goto err;
if (out == NULL)
goto err;
- if (!EVP_MAC_init(ctx)) {
+ if (!EVP_MAC_init(ctx, NULL, 0, NULL)) {
BIO_printf(bio_err, "EVP_MAC_Init failed\n");
goto err;
}