aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_crypto.c')
-rwxr-xr-xres/res_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_crypto.c b/res/res_crypto.c
index 8aa4e9d6e..6d9b4353e 100755
--- a/res/res_crypto.c
+++ b/res/res_crypto.c
@@ -55,7 +55,7 @@
static char base64[64];
static char b2a[256];
-static pthread_mutex_t keylock = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t keylock = AST_MUTEX_INITIALIZER;
#define KEY_NEEDS_PASSCODE (1 << 16)