diff options
author | schwarze <> | 2017-01-07 05:06:22 +0000 |
---|---|---|
committer | schwarze <> | 2017-01-07 05:06:22 +0000 |
commit | 712ad2e7fe88533fba2bc7cd80a3ec398a4d3937 (patch) | |
tree | 2c5c8ec0f3769e240b274a3cee7cc33e4f34949a | |
parent | 7de2fb55c5a9904ddcf40305a6e99d9b06f622db (diff) | |
download | openbsd-712ad2e7fe88533fba2bc7cd80a3ec398a4d3937.tar.gz openbsd-712ad2e7fe88533fba2bc7cd80a3ec398a4d3937.tar.bz2 openbsd-712ad2e7fe88533fba2bc7cd80a3ec398a4d3937.zip |
correctly mark all documented macros found in <openssl/bn.h>
-rw-r--r-- | src/lib/libcrypto/man/BN_add.3 | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/man/BN_copy.3 | 7 | ||||
-rw-r--r-- | src/lib/libcrypto/man/BN_generate_prime.3 | 8 |
3 files changed, 11 insertions, 9 deletions
diff --git a/src/lib/libcrypto/man/BN_add.3 b/src/lib/libcrypto/man/BN_add.3 index fb9563f822..77afec7de3 100644 --- a/src/lib/libcrypto/man/BN_add.3 +++ b/src/lib/libcrypto/man/BN_add.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: BN_add.3,v 1.5 2016/12/10 21:13:25 schwarze Exp $ | 1 | .\" $OpenBSD: BN_add.3,v 1.6 2017/01/07 05:06:22 schwarze Exp $ |
2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> | 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> |
@@ -49,7 +49,7 @@ | |||
49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | .\" | 51 | .\" |
52 | .Dd $Mdocdate: December 10 2016 $ | 52 | .Dd $Mdocdate: January 7 2017 $ |
53 | .Dt BN_ADD 3 | 53 | .Dt BN_ADD 3 |
54 | .Os | 54 | .Os |
55 | .Sh NAME | 55 | .Sh NAME |
@@ -265,6 +265,7 @@ with | |||
265 | .Fa dv | 265 | .Fa dv |
266 | set to | 266 | set to |
267 | .Dv NULL . | 267 | .Dv NULL . |
268 | It is implemented as a macro. | ||
268 | .Pp | 269 | .Pp |
269 | .Fn BN_nnmod | 270 | .Fn BN_nnmod |
270 | reduces | 271 | reduces |
diff --git a/src/lib/libcrypto/man/BN_copy.3 b/src/lib/libcrypto/man/BN_copy.3 index 3ddcec6ee8..34653be7e3 100644 --- a/src/lib/libcrypto/man/BN_copy.3 +++ b/src/lib/libcrypto/man/BN_copy.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: BN_copy.3,v 1.4 2016/12/10 21:13:25 schwarze Exp $ | 1 | .\" $OpenBSD: BN_copy.3,v 1.5 2017/01/07 05:06:22 schwarze Exp $ |
2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> | 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> |
@@ -49,7 +49,7 @@ | |||
49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | .\" | 51 | .\" |
52 | .Dd $Mdocdate: December 10 2016 $ | 52 | .Dd $Mdocdate: January 7 2017 $ |
53 | .Dt BN_COPY 3 | 53 | .Dt BN_COPY 3 |
54 | .Os | 54 | .Os |
55 | .Sh NAME | 55 | .Sh NAME |
@@ -80,6 +80,7 @@ copies | |||
80 | .Fa from | 80 | .Fa from |
81 | to | 81 | to |
82 | .Fa to . | 82 | .Fa to . |
83 | .Pp | ||
83 | .Fn BN_dup | 84 | .Fn BN_dup |
84 | creates a new | 85 | creates a new |
85 | .Vt BIGNUM | 86 | .Vt BIGNUM |
@@ -96,7 +97,7 @@ in | |||
96 | It places significant restrictions on the copied data. | 97 | It places significant restrictions on the copied data. |
97 | Applications that do not adhere to these restrictions | 98 | Applications that do not adhere to these restrictions |
98 | may encounter unexpected side effects or crashes. | 99 | may encounter unexpected side effects or crashes. |
99 | For that reason, use of this function is discouraged. | 100 | For that reason, use of this macro is discouraged. |
100 | .Pp | 101 | .Pp |
101 | Any flags provided in | 102 | Any flags provided in |
102 | .Fa flags | 103 | .Fa flags |
diff --git a/src/lib/libcrypto/man/BN_generate_prime.3 b/src/lib/libcrypto/man/BN_generate_prime.3 index 2d4592105c..5d4f931a04 100644 --- a/src/lib/libcrypto/man/BN_generate_prime.3 +++ b/src/lib/libcrypto/man/BN_generate_prime.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: BN_generate_prime.3,v 1.5 2016/12/10 21:13:25 schwarze Exp $ | 1 | .\" $OpenBSD: BN_generate_prime.3,v 1.6 2017/01/07 05:06:22 schwarze Exp $ |
2 | .\" OpenSSL 2afb29b4 Aug 14 16:47:13 2014 -0400 | 2 | .\" OpenSSL 2afb29b4 Aug 14 16:47:13 2014 -0400 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> | 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> |
@@ -50,7 +50,7 @@ | |||
50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
52 | .\" | 52 | .\" |
53 | .Dd $Mdocdate: December 10 2016 $ | 53 | .Dd $Mdocdate: January 7 2017 $ |
54 | .Dt BN_GENERATE_PRIME 3 | 54 | .Dt BN_GENERATE_PRIME 3 |
55 | .Os | 55 | .Os |
56 | .Sh NAME | 56 | .Sh NAME |
@@ -262,7 +262,7 @@ provided for backwards compatibility purposes. | |||
262 | .Pp | 262 | .Pp |
263 | For "new" style callbacks a | 263 | For "new" style callbacks a |
264 | .Vt BN_GENCB | 264 | .Vt BN_GENCB |
265 | structure should be initialised with a call to | 265 | structure should be initialised with a call to the macro |
266 | .Fn BN_GENCB_set , | 266 | .Fn BN_GENCB_set , |
267 | where | 267 | where |
268 | .Fa gencb | 268 | .Fa gencb |
@@ -276,7 +276,7 @@ and | |||
276 | is a | 276 | is a |
277 | .Vt void * . | 277 | .Vt void * . |
278 | "Old" style callbacks are the same except they are initialised with a | 278 | "Old" style callbacks are the same except they are initialised with a |
279 | call to | 279 | call to the macro |
280 | .Fn BN_GENCB_set_old | 280 | .Fn BN_GENCB_set_old |
281 | and | 281 | and |
282 | .Fa callback | 282 | .Fa callback |