mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
pki: Fix formatting and use else if
to make Coverity happy
This commit is contained in:
parent
00fd78305c
commit
0cbd1ad892
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user