From 0cbd1ad8924e25c78b74a2743f665d5020150e50 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 28 Sep 2022 15:07:37 +0200 Subject: [PATCH] pki: Fix formatting and use `else if` to make Coverity happy --- src/pki/commands/scep.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pki/commands/scep.c b/src/pki/commands/scep.c index 7554179940..78102e460c 100644 --- a/src/pki/commands/scep.c +++ b/src/pki/commands/scep.c @@ -166,11 +166,12 @@ static int scep() { pss = TRUE; } - if (streq(arg, "pkcs1")) + else if (streq(arg, "pkcs1")) { pss = FALSE; } - else { + else + { error = "invalid RSA padding"; goto usage; } -- 2.47.2