diff options
Diffstat (limited to 'res/res_crypto.c')
-rwxr-xr-x | res/res_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_crypto.c b/res/res_crypto.c index 2a2e5cb8b..e0cb6233c 100755 --- a/res/res_crypto.c +++ b/res/res_crypto.c @@ -59,7 +59,7 @@ static char base64[64]; static char b2a[256]; -static ast_mutex_t keylock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(keylock); #define KEY_NEEDS_PASSCODE (1 << 16) |