summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-08-23 12:06:41 -0400
committerRich Salz <rsalz@openssl.org>2017-08-23 17:35:39 -0400
commite09cfa470968fed533c864b98fb14210eb10b573 (patch)
treefc28a6f5d1cb18b1f5fc1a64601c69943497fc53 /doc
parent603e5170161bd71d2341c34fdcca24d191964c0d (diff)
Tweak wording to be more clear.
Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4234) (cherry picked from commit a130950df92abf7dd787b000403da02af8f41c2d)
Diffstat (limited to 'doc')
-rw-r--r--doc/crypto/BN_bn2bin.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/crypto/BN_bn2bin.pod b/doc/crypto/BN_bn2bin.pod
index 9e16c0d239..ac46948477 100644
--- a/doc/crypto/BN_bn2bin.pod
+++ b/doc/crypto/BN_bn2bin.pod
@@ -87,8 +87,8 @@ BN_bn2binpad() returns the number of bytes written or -1 if the supplied
buffer is too small.
BN_bn2hex() and BN_bn2dec() return a null-terminated string, or NULL
-on error. BN_hex2bn() and BN_dec2bn() return the the length of valid
-representation in hexadecimal or decimal digits, and 0 on error, in which
+on error. BN_hex2bn() and BN_dec2bn() return the number of characters
+used in parsing, or 0 on error, in which
case no new B<BIGNUM> will be created.
BN_print_fp() and BN_print() return 1 on success, 0 on write errors.