From: Rich Salz Date: Wed, 23 Aug 2017 16:06:41 +0000 (-0400) Subject: Tweak wording to be more clear. X-Git-Tag: OpenSSL_1_0_2m~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c0f4a5560548f76cfb00a9bbd85b6649df5754d1;p=oweals%2Fopenssl.git Tweak wording to be more clear. Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/4234) (cherry picked from commit a130950df92abf7dd787b000403da02af8f41c2d) --- 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. BN_bin2bn() returns the B, 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 will be created. BN_print_fp() and BN_print() return 1 on success, 0 on write errors.