summaryrefslogtreecommitdiffstats
path: root/doc/man3/BN_bn2bin.pod
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:33:27 -0400
commita130950df92abf7dd787b000403da02af8f41c2d (patch)
treefa7c72d9e096fe6504338333290de0b89f30eae0 /doc/man3/BN_bn2bin.pod
parentc9b820aa3c447df991c9146f07ca1f6faafe0437 (diff)
Tweak wording to be more clear.
Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4234)
Diffstat (limited to 'doc/man3/BN_bn2bin.pod')
-rw-r--r--doc/man3/BN_bn2bin.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man3/BN_bn2bin.pod b/doc/man3/BN_bn2bin.pod
index 367fa2e493..ac46948477 100644
--- a/doc/man3/BN_bn2bin.pod
+++ b/doc/man3/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 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.