From 4c4ff02fe8d214399369f1f672b613f820885c79 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Tue, 23 Aug 2016 10:09:04 -0700 Subject: [PATCH] Fix bn_wexpand's documentation. Change-Id: I15e243c9732f2d3ab77b2fa77e0c3c10d5c7f3af Reviewed-on: https://boringssl-review.googlesource.com/10541 Reviewed-by: Adam Langley --- include/openssl/bn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openssl/bn.h b/include/openssl/bn.h index f84362d5..67a3455b 100644 --- a/include/openssl/bn.h +++ b/include/openssl/bn.h @@ -327,7 +327,7 @@ OPENSSL_EXPORT int BN_marshal_asn1(CBB *cbb, const BIGNUM *bn); OPENSSL_EXPORT void bn_correct_top(BIGNUM *bn); /* bn_wexpand ensures that |bn| has at least |words| works of space without - * altering its value. It returns one on success or zero on allocation + * altering its value. It returns |bn| on success or NULL on allocation * failure. */ OPENSSL_EXPORT BIGNUM *bn_wexpand(BIGNUM *bn, size_t words);