summaryrefslogtreecommitdiffstats
path: root/ncr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ncr.c')
-rw-r--r--ncr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ncr.c b/ncr.c
index 5740580..f68a1d8 100644
--- a/ncr.c
+++ b/ncr.c
@@ -177,9 +177,9 @@ ncr_ioctl(struct ncr_lists* lst, struct file *filp,
/* Returns NCR_KEY_TYPE_SECRET if a secret key algorithm or MAC is given,
* and NCR_KEY_TYPE_PUBLIC if a public key algorithm is given.
*/
-ncr_key_type_t ncr_algorithm_to_key_type(ncr_algorithm_t algo)
+ncr_key_type_t ncr_algorithm_to_key_type(const struct algo_properties_st *algo)
{
- switch(algo) {
+ switch(algo->algo) {
case NCR_ALG_3DES_CBC:
case NCR_ALG_AES_CBC:
case NCR_ALG_CAMELLIA_CBC: