From: Tobias Brunner Date: Wed, 28 Sep 2022 13:07:37 +0000 (+0200) Subject: pki: Fix formatting and use `else if` to make Coverity happy X-Git-Tag: 5.9.8~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cbd1ad8924e25c78b74a2743f665d5020150e50;p=thirdparty%2Fstrongswan.git pki: Fix formatting and use `else if` to make Coverity happy --- 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; }