summaryrefslogtreecommitdiffstats
path: root/doc/crypto
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:47:58 -0400
commitc0f4a5560548f76cfb00a9bbd85b6649df5754d1 (patch)
treeea9f1655173aa208c086a6380b9dab809ff9c303 /doc/crypto
parent173f0a0e61139d721c203c12213d1a162eb545d4 (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/crypto')
-rw-r--r--doc/crypto/BN_bn2bin.pod5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/crypto/BN_bn2bin.pod b/doc/crypto/BN_bn2bin.pod
index 3bed47f8f1..f6bb484f90 100644
--- a/doc/crypto/BN_bn2bin.pod
+++ b/doc/crypto/BN_bn2bin.pod
@@ -70,8 +70,9 @@ BN_bn2bin() returns the length of the big-endian number placed at B<to>.
BN_bin2bn() returns the B<BIGNUM>, NULL on error.
BN_bn2hex() and BN_bn2dec() return a null-terminated string, or NULL
-on error. BN_hex2bn() and BN_dec2bn() return the number's length in
-hexadecimal or decimal digits, and 0 on error.
+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.