When getting raw digest for replay attack detection specify the default
encryption mode (which doesn't actually get used when passing a NULL key).
/* initialize an FKO context with no decryption key just so
* we can get the outer message digest
*/
- res = fko_new_with_data(&ctx, (char *)pkt_data, NULL);
+ res = fko_new_with_data(&ctx, (char *)pkt_data, NULL, FKO_DEFAULT_ENC_MODE);
if(res != FKO_SUCCESS)
{
log_msg(LOG_WARNING, "Error initializing FKO context from SPA data: %s",