diff options
author | Pauli <pauli@openssl.org> | 2022-02-24 09:52:52 +1100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-02-28 16:24:27 +1100 |
commit | 28e141c45d36757e052b72685fb874968f013d43 (patch) | |
tree | 8378c171058e959210f9560e461b513122fc2c27 /include | |
parent | af788ad6c3624ccc4b49778a9ded2487b9dbeedd (diff) |
Change `strlen' argument name to `strlength' to avoid c++ reserved words.
Fixes #17753
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/17764)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/crypto.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/crypto.h.in b/include/openssl/crypto.h.in index 724e2ca5da..df7abb2a29 100644 --- a/include/openssl/crypto.h.in +++ b/include/openssl/crypto.h.in @@ -125,7 +125,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock); size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz); size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz); size_t OPENSSL_strnlen(const char *str, size_t maxlen); -int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen, +int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength, const unsigned char *buf, size_t buflen, const char sep); char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen); |