summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Perrin <alex@kaworu.ch>2018-07-13 10:32:42 +0200
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-07-13 14:55:47 +0200
commit3d5d123d86532391249d7b33ca5da12d0a5599f3 (patch)
treec7d382688677942878973317bdd5cd8281b4e34f
parent434af36f9778abe274bb637396f60977fbee98d2 (diff)
Documentation typo fix in BN_bn2bin.pod
Change the description for BN_hex2bn() so that it uses the same BIGNUM argument name as its prototype. CLA: trivial Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6712)
-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 f6bb484f90..075aec37fa 100644
--- a/doc/crypto/BN_bn2bin.pod
+++ b/doc/crypto/BN_bn2bin.pod
@@ -39,8 +39,8 @@ numbers, the string is prefaced with a leading '-'. The string must be
freed later using OPENSSL_free().
BN_hex2bn() converts the string B<str> containing a hexadecimal number
-to a B<BIGNUM> and stores it in **B<bn>. If *B<bn> is NULL, a new
-B<BIGNUM> is created. If B<bn> is NULL, it only computes the number's
+to a B<BIGNUM> and stores it in **B<a>. If *B<a> is NULL, a new
+B<BIGNUM> is created. If B<a> is NULL, it only computes the number's
length in hexadecimal digits. If the string starts with '-', the
number is negative.
A "negative zero" is converted to zero.