security: fix enum start value
authorAkhil Goyal <akhil.goyal@nxp.com>
Wed, 13 Dec 2017 07:15:08 +0000 (12:45 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Sat, 20 Jan 2018 15:08:34 +0000 (16:08 +0100)
commit009ac7157c940194b862be6e8a08acae37383090
treea5dd7ce183f46aa5a880464e3de51e15270f17ae
parent9ee625c2cfaa2bd0e0b8f8beecdd3ed0a06e8cd5
security: fix enum start value

enum should be initialized with 1 so that unitialized(memset)
memory may not be treated as a valid enum value.

Fixes: c261d1431bd8 ("security: introduce security API and framework")
Cc: stable@dpdk.org
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
lib/librte_security/rte_security.h