summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2022-02-24 09:52:52 +1100
committerPauli <pauli@openssl.org>2022-02-28 16:27:23 +1100
commit75bb565f81b9f3dec3341210855e12048ab52dfa (patch)
tree47997260e0346d19421f98f66bdbe284455fd685 /include
parent4b908b6c386ef02cf7c363d639c9ef831d77587f (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) (cherry picked from commit 28e141c45d36757e052b72685fb874968f013d43)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/crypto.h.in2
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);