test: fix build with icc
authorAbhinandan Gujjar <abhinandan.gujjar@intel.com>
Mon, 14 May 2018 06:50:22 +0000 (12:20 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 14 May 2018 09:10:24 +0000 (11:10 +0200)
commita68bc62fd10c80d5c5e11bfb18b098fda0436b32
tree556398387eb09128342266ef704b446f0db28894
parent3b97888ab2a8405bcbe198abdcc8ac98ee0f0e96
test: fix build with icc

This patch provides fix for icc compilation issue with event
crypto adapter test application.
Currently, number of elements in the session mempool is defined
by max_nb_sessions & this is replaced with a macro.

Fixes: 3c2c535ecfc0 ("test: add event crypto adapter auto-test")

Reported-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Signed-off-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
test/test/test_event_crypto_adapter.c