pki: Fix formatting and use else if to make Coverity happy

This commit is contained in:
Tobias Brunner
2022-09-28 15:07:37 +02:00
parent 00fd78305c
commit 0cbd1ad892
+3 -2
View File
@@ -166,11 +166,12 @@ static int scep()
{ {
pss = TRUE; pss = TRUE;
} }
if (streq(arg, "pkcs1")) else if (streq(arg, "pkcs1"))
{ {
pss = FALSE; pss = FALSE;
} }
else { else
{
error = "invalid RSA padding"; error = "invalid RSA padding";
goto usage; goto usage;
} }