pki: Fix formatting and use else if to make Coverity happy
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user