state: hmac: fix error message that algo is displayed
This patch moves the error message about missing crypto support so that the
used crypto algo is printed. Without this patch the algo is always shown as a
NULL pointer.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 53a573c commit 54522f547ff81f45f61e92b150f85591cf857040
@Marc Kleine-Budde Marc Kleine-Budde authored on 14 Jan 2016
Sascha Hauer committed on 18 Jan 2016
Showing 1 changed file
View
common/state.c