Skip to content

Commit

Permalink
apps/cmp.c: fix bug not allowing to reset -csr and -serial option values
Browse files Browse the repository at this point in the history
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from #21659)

(cherry picked from commit 374945a)
  • Loading branch information
DDvO committed Sep 5, 2023
1 parent 9e7cc1c commit 0e34367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2512,7 +2512,7 @@ static int get_opts(int argc, char **argv)
}
break;
case OPT_CSR:
opt_csr = opt_arg();
opt_csr = opt_str();
break;
case OPT_OUT_TRUSTED:
opt_out_trusted = opt_str();
Expand Down

0 comments on commit 0e34367

Please sign in to comment.