minor paren's syntax bug fix
authorMichael Rash <mbr@cipherdyne.org>
Sat, 18 Aug 2012 20:30:34 +0000 (16:30 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Sat, 18 Aug 2012 20:30:34 +0000 (16:30 -0400)
server/incoming_spa.c

index 726cc06..a7be5f6 100644 (file)
@@ -285,6 +285,7 @@ incoming_spa(fko_srv_options_t *opts)
     if (is_src_match(opts->acc_stanzas, ntohl(spa_pkt->packet_src_ip)))
     {
         if(strncasecmp(opts->config[CONF_ENABLE_DIGEST_PERSISTENCE], "Y", 1) == 0)
+        {
             /* Check for a replay attack
             */
             res = get_raw_digest(&raw_digest, (char *)spa_pkt->packet_data);
@@ -302,6 +303,7 @@ incoming_spa(fko_srv_options_t *opts)
                 free(raw_digest);
                 return;
             }
+        }
     }
     else
     {