X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FBN_zero.pod;h=167a7e4cecbc92a6c45da07f627f5e141fa5b8bb;hp=91d48aad880862e1520046f8395c1c09574a5d70;hb=b3696a55a5ed80717723a589020af30adb5db606;hpb=9e183d2271653cbba2d9cf56d40c1356705207aa diff --git a/doc/man3/BN_zero.pod b/doc/man3/BN_zero.pod index 91d48aad88..167a7e4cec 100644 --- a/doc/man3/BN_zero.pod +++ b/doc/man3/BN_zero.pod @@ -17,12 +17,6 @@ operations int BN_set_word(BIGNUM *a, unsigned long w); unsigned long BN_get_word(BIGNUM *a); -Deprecated: - - #if OPENSSL_API_COMPAT < 0x00908000L - int BN_zero(BIGNUM *a); - #endif - =head1 DESCRIPTION BN_zero(), BN_one() and BN_set_word() set B to the values 0, 1 and @@ -39,15 +33,12 @@ long. BN_get_word() returns the value B, and 0xffffffffL if B cannot be represented as an unsigned long. -BN_one(), BN_set_word() and the deprecated version of BN_zero() -return 1 on success, 0 otherwise. +BN_one() and BN_set_word() return 1 on success, 0 otherwise. BN_value_one() returns the constant. -The preferred version of BN_zero() never fails and returns no value. +BN_zero() never fails and returns no value. =head1 BUGS -Someone might change the constant. - If a B is equal to 0xffffffffL it can be represented as an unsigned long but this value is also returned on error. @@ -55,6 +46,11 @@ unsigned long but this value is also returned on error. L +=head1 HISTORY + +In OpenSSL 0.9.8, BN_zero() was changed to not return a value; previous +versions returned an int. + =head1 COPYRIGHT Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.