diff --git a/server/incoming_spa.c b/server/incoming_spa.c index 9ff987e4..66532e34 100644 --- a/server/incoming_spa.c +++ b/server/incoming_spa.c @@ -286,6 +286,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); @@ -303,6 +304,7 @@ incoming_spa(fko_srv_options_t *opts) free(raw_digest); return; } + } } else {