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 /doc/man3 | |
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 'doc/man3')
-rw-r--r-- | doc/man3/OPENSSL_hexchar2int.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/man3/OPENSSL_hexchar2int.pod b/doc/man3/OPENSSL_hexchar2int.pod index a112815127..88a69e45d3 100644 --- a/doc/man3/OPENSSL_hexchar2int.pod +++ b/doc/man3/OPENSSL_hexchar2int.pod @@ -15,8 +15,9 @@ OPENSSL_buf2hexstr_ex, OPENSSL_buf2hexstr int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, long *buflen, const char *str, const char sep); unsigned char *OPENSSL_hexstr2buf(const char *str, long *len); - int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen, - const unsigned char *buf, long buflen, const char sep); + int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength, + const unsigned char *buf, long buflen, + const char sep); char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen); =head1 DESCRIPTION @@ -47,7 +48,7 @@ in the given I<str>. The character I<sep> is the separator between the bytes, setting this to '\0' means that there is no separator. I<str_n> gives the size of the of the string buffer. -If I<strlen> is not NULL, it is filled in with the result length. +If I<strlength> is not NULL, it is filled in with the result length. To find out how large the result will be, call this function with NULL for I<str>. |