summaryrefslogtreecommitdiffstats
path: root/ncr-key.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-18 05:31:14 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-24 23:59:40 +0200
commiteef7de54be0cd38abb689de7b0a749154b04c694 (patch)
treeb7d62626d057fc65f7fef202d357fc5b357e7847 /ncr-key.c
parent650b6caa69d41753d6ad61f20dc6d46bc24b96ea (diff)
downloadcryptodev-linux-eef7de54be0cd38abb689de7b0a749154b04c694.tar.gz
cryptodev-linux-eef7de54be0cd38abb689de7b0a749154b04c694.tar.xz
cryptodev-linux-eef7de54be0cd38abb689de7b0a749154b04c694.zip
Replace ncr_algorithm_t by NLA_NUL_STRING
Diffstat (limited to 'ncr-key.c')
-rw-r--r--ncr-key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ncr-key.c b/ncr-key.c
index 56708d8..6e68245 100644
--- a/ncr-key.c
+++ b/ncr-key.c
@@ -624,8 +624,8 @@ int ret;
ret = ncr_out_put_u32(out, *attr, item->type);
break;
case NCR_ATTR_ALGORITHM:
- ret = ncr_out_put_u32(out, *attr,
- item->algorithm->algo);
+ ret = ncr_out_put_string(out, *attr,
+ item->algorithm->kstr);
break;
default:
break; /* Silently ignore */