summaryrefslogtreecommitdiffstats
path: root/ncr-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'ncr-int.h')
-rw-r--r--ncr-int.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ncr-int.h b/ncr-int.h
index 60d64ad..96754f1 100644
--- a/ncr-int.h
+++ b/ncr-int.h
@@ -33,8 +33,6 @@ struct algo_properties_st {
};
struct session_item_st {
- struct list_head list;
-
const struct algo_properties_st *algorithm;
ncr_crypto_op_t op;
@@ -104,7 +102,8 @@ struct ncr_lists {
struct idr key_idr;
/* sessions */
- struct list_sem_st sessions;
+ struct mutex session_idr_mutex;
+ struct idr session_idr;
};
void* ncr_init_lists(void);