summaryrefslogtreecommitdiff
path: root/src/charon/plugins/nm/nm_creds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/plugins/nm/nm_creds.c')
-rw-r--r--src/charon/plugins/nm/nm_creds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/plugins/nm/nm_creds.c b/src/charon/plugins/nm/nm_creds.c
index d93b81c9a..4ea2c36dd 100644
--- a/src/charon/plugins/nm/nm_creds.c
+++ b/src/charon/plugins/nm/nm_creds.c
@@ -322,7 +322,7 @@ nm_creds_t *nm_creds_create()
this->public.clear = (void(*)(nm_creds_t*))clear;
this->public.destroy = (void(*)(nm_creds_t*))destroy;
- this->lock = rwlock_create(RWLOCK_DEFAULT);
+ this->lock = rwlock_create(RWLOCK_TYPE_DEFAULT);
this->cert = NULL;
this->user = NULL;