summaryrefslogtreecommitdiffstats
path: root/crypto/lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/lock.c')
-rw-r--r--crypto/lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/lock.c b/crypto/lock.c
index d24527a49b..f337c0d8de 100644
--- a/crypto/lock.c
+++ b/crypto/lock.c
@@ -215,7 +215,7 @@ int CRYPTO_get_new_lockid(char *name)
CRYPTOerr(CRYPTO_F_CRYPTO_GET_NEW_LOCKID, ERR_R_MALLOC_FAILURE);
return (0);
}
- if ((str = BUF_strdup(name)) == NULL) {
+ if ((str = OPENSSL_strdup(name)) == NULL) {
CRYPTOerr(CRYPTO_F_CRYPTO_GET_NEW_LOCKID, ERR_R_MALLOC_FAILURE);
return (0);
}