[server] skip replay storage in --test mode (since we're not granting access anyway)

This commit is contained in:
Michael Rash 2014-06-09 20:48:23 -04:00
parent 70f70091b1
commit 8d31de7295

View File

@ -577,7 +577,7 @@ incoming_spa(fko_srv_options_t *opts)
/* Add this SPA packet into the replay detection cache
*/
if (added_replay_digest == 0
if (!opts->test && added_replay_digest == 0
&& strncasecmp(opts->config[CONF_ENABLE_DIGEST_PERSISTENCE], "Y", 1) == 0)
{