Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/tpm2_options.c
  2. +1 −1 lib/tpm2_tcti_ldr.c
2 changes: 1 addition & 1 deletion lib/tpm2_options.c
Expand Up @@ -329,7 +329,7 @@ tpm2_option_code tpm2_handle_options (int argc, char **argv, char **envp,

/* Only init a TCTI if the tool needs it */
if (!tool_opts || !(tool_opts->flags & TPM2_OPTIONS_NO_SAPI)) {
tcti_opts = tcti_get_opts(optarg);
tcti_opts = tcti_get_opts(tcti_name);

*tcti = tpm2_tcti_ldr_load(tcti_name, tcti_opts);
if (!*tcti) {
Expand Down
2 changes: 1 addition & 1 deletion lib/tpm2_tcti_ldr.c
Expand Up @@ -115,7 +115,7 @@ TSS2_TCTI_CONTEXT *tpm2_tcti_ldr_load(const char *path, char *opts) {
rc = init(tcti_ctx, &size, opts);
if (rc != TPM2_RC_SUCCESS) {
LOG_ERR("tcti init routine for final initialization failed for library:"
" \"%s\"", path);
" \"%s\" with option: \"%s\"", path, opts);
goto err;
}

Expand Down