commit | f1e4fe2afdf4340b62327ea86bbd67d441aee0f5 | [log] [tgz] |
---|---|---|
author | Frederik Deweerdt <deweerdt@users.noreply.github.com> | Wed Feb 17 15:55:58 2021 -0800 |
committer | GitHub <noreply@github.com> | Wed Feb 17 15:55:58 2021 -0800 |
tree | 199b6b5db2aa268db074c37996a0c18f98c031f2 | |
parent | 00f794d89caa047df6ac053050b3ab416f71acab [diff] |
Update t/cli.c Co-authored-by: Kazuho Oku <kazuhooku@gmail.com>
diff --git a/t/cli.c b/t/cli.c index e9cac24..4f36122 100644 --- a/t/cli.c +++ b/t/cli.c
@@ -574,7 +574,7 @@ load_certificate_chain(&ctx, cert_location); } - if (!ctx.use_raw_public_keys && (ctx.certificates.count == 0) != (ctx.sign_certificate == NULL)) { + if ((ctx.certificates.count == 0) != (ctx.sign_certificate == NULL)) { fprintf(stderr, "-C/-c and -k options must be used together\n"); return 1; }