From 50f0ee2f7db5d0d2290efa3fee10339318fa023f Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Tue, 7 May 2013 22:52:35 -0400 Subject: [PATCH] [server] bug fix for GPG 'nesting level does not match indentation' issue (discovered by Coverity) --- server/incoming_spa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/incoming_spa.c b/server/incoming_spa.c index 88f0487b..c6660698 100644 --- a/server/incoming_spa.c +++ b/server/incoming_spa.c @@ -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) { @@ -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);