summaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-18 05:51:32 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-24 23:59:46 +0200
commitf9fa90899a4691ce01244593e2902111fe9bf2c6 (patch)
tree39d1ba8c29b4df7323016dc171692225cc1f847f /utils.c
parenteef7de54be0cd38abb689de7b0a749154b04c694 (diff)
downloadcryptodev-linux-f9fa90899a4691ce01244593e2902111fe9bf2c6.tar.gz
cryptodev-linux-f9fa90899a4691ce01244593e2902111fe9bf2c6.tar.xz
cryptodev-linux-f9fa90899a4691ce01244593e2902111fe9bf2c6.zip
Replace ncr_derive_t by NLA_NUL_STRING
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 23d75f1..113a1ee 100644
--- a/utils.c
+++ b/utils.c
@@ -49,7 +49,7 @@
static const struct nla_policy ncr_attr_policy[NCR_ATTR_MAX + 1] = {
[NCR_ATTR_ALGORITHM] = { NLA_NUL_STRING, 0 },
- [NCR_ATTR_DERIVATION_ALGORITHM] = { NLA_U32, 0 },
+ [NCR_ATTR_DERIVATION_ALGORITHM] = { NLA_NUL_STRING, 0 },
[NCR_ATTR_SIGNATURE_HASH_ALGORITHM] = { NLA_NUL_STRING, 0 },
[NCR_ATTR_WRAPPING_ALGORITHM] = { NLA_U32, 0 },
[NCR_ATTR_UPDATE_INPUT_DATA] = {