diff options
author | Rich Salz <rsalz@akamai.com> | 2015-12-16 22:12:24 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-12-16 22:14:49 +0100 |
commit | 7644a9aef8932ed4d1c3f25ed776c997702982be (patch) | |
tree | d8f1e7fca20ad12683a1e2e52c92b6999ada23a6 /crypto/lock.c | |
parent | fix for no-ec (diff) | |
download | openssl-7644a9aef8932ed4d1c3f25ed776c997702982be.tar.xz openssl-7644a9aef8932ed4d1c3f25ed776c997702982be.zip |
Rename some BUF_xxx to OPENSSL_xxx
Rename BUF_{strdup,strlcat,strlcpy,memdup,strndup,strnlen}
to OPENSSL_{strdup,strlcat,strlcpy,memdup,strndup,strnlen}
Add #define's for the old names.
Add CRYPTO_{memdup,strndup}, called by OPENSSL_{memdup,strndup} macros.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/lock.c')
-rw-r--r-- | crypto/lock.c | 2 |
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); } |