Skip to content

Commit

Permalink
[server] bug fix for GPG 'nesting level does not match indentation' i…
Browse files Browse the repository at this point in the history
…ssue (discovered by Coverity)
  • Loading branch information
mrash committed May 8, 2013
1 parent e1c6f04 commit 50f0ee2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/incoming_spa.c
Expand Up @@ -446,6 +446,7 @@ incoming_spa(fko_srv_options_t *opts)
/* Set whatever GPG parameters we have.
*/
if(acc->gpg_home_dir != NULL)
{
res = fko_set_gpg_home_dir(ctx, acc->gpg_home_dir);
if(res != FKO_SUCCESS)
{
Expand All @@ -458,6 +459,7 @@ incoming_spa(fko_srv_options_t *opts)
acc = acc->next;
continue;
}
}

if(acc->gpg_decrypt_id != NULL)
fko_set_gpg_recipient(ctx, acc->gpg_decrypt_id);
Expand Down

0 comments on commit 50f0ee2

Please sign in to comment.