diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/man/BIO_get_data.3 | 39 |
1 files changed, 34 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/BIO_get_data.3 b/src/lib/libcrypto/man/BIO_get_data.3 index 51b10adbb4..b4b0014d15 100644 --- a/src/lib/libcrypto/man/BIO_get_data.3 +++ b/src/lib/libcrypto/man/BIO_get_data.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: BIO_get_data.3,v 1.6 2022/12/18 21:45:47 schwarze Exp $ | 1 | .\" $OpenBSD: BIO_get_data.3,v 1.7 2022/12/19 14:40:14 schwarze Exp $ |
| 2 | .\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 | 2 | .\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 |
| 3 | .\" | 3 | .\" |
| 4 | .\" This file is a derived work. | 4 | .\" This file is a derived work. |
| @@ -65,7 +65,7 @@ | |||
| 65 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 65 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 66 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 66 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 67 | .\" | 67 | .\" |
| 68 | .Dd $Mdocdate: December 18 2022 $ | 68 | .Dd $Mdocdate: December 19 2022 $ |
| 69 | .Dt BIO_GET_DATA 3 | 69 | .Dt BIO_GET_DATA 3 |
| 70 | .Os | 70 | .Os |
| 71 | .Sh NAME | 71 | .Sh NAME |
| @@ -80,6 +80,7 @@ | |||
| 80 | .Nm BIO_set_retry_special , | 80 | .Nm BIO_set_retry_special , |
| 81 | .Nm BIO_clear_retry_flags , | 81 | .Nm BIO_clear_retry_flags , |
| 82 | .Nm BIO_get_retry_flags , | 82 | .Nm BIO_get_retry_flags , |
| 83 | .Nm BIO_copy_next_retry , | ||
| 83 | .Nm BIO_set_init , | 84 | .Nm BIO_set_init , |
| 84 | .Nm BIO_get_init , | 85 | .Nm BIO_get_init , |
| 85 | .Nm BIO_set_shutdown , | 86 | .Nm BIO_set_shutdown , |
| @@ -136,6 +137,10 @@ | |||
| 136 | .Fa "BIO *a" | 137 | .Fa "BIO *a" |
| 137 | .Fc | 138 | .Fc |
| 138 | .Ft void | 139 | .Ft void |
| 140 | .Fo BIO_copy_next_retry | ||
| 141 | .Fa "BIO *a" | ||
| 142 | .Fc | ||
| 143 | .Ft void | ||
| 139 | .Fo BIO_set_init | 144 | .Fo BIO_set_init |
| 140 | .Fa "BIO *a" | 145 | .Fa "BIO *a" |
| 141 | .Fa "int init" | 146 | .Fa "int init" |
| @@ -238,7 +243,7 @@ set the | |||
| 238 | and | 243 | and |
| 239 | .Dv BIO_FLAGS_IO_SPECIAL | 244 | .Dv BIO_FLAGS_IO_SPECIAL |
| 240 | flag bit in | 245 | flag bit in |
| 241 | .Fa b , | 246 | .Fa a , |
| 242 | respectively. | 247 | respectively. |
| 243 | They all set the | 248 | They all set the |
| 244 | .Dv BIO_FLAGS_SHOULD_RETRY | 249 | .Dv BIO_FLAGS_SHOULD_RETRY |
| @@ -252,7 +257,29 @@ clears the flag bits | |||
| 252 | and | 257 | and |
| 253 | .Dv BIO_FLAGS_SHOULD_RETRY | 258 | .Dv BIO_FLAGS_SHOULD_RETRY |
| 254 | in | 259 | in |
| 255 | .Fa b . | 260 | .Fa a . |
| 261 | .Pp | ||
| 262 | .Fn BIO_copy_next_retry | ||
| 263 | copies retry-related state data from the BIO that follows | ||
| 264 | .Fa a | ||
| 265 | in its chain to | ||
| 266 | .Fa a , | ||
| 267 | that is, the data accessible with | ||
| 268 | .Fn BIO_get_retry_flags | ||
| 269 | and | ||
| 270 | .Xr BIO_get_retry_reason 3 . | ||
| 271 | Flags which are already set in | ||
| 272 | .Fa a | ||
| 273 | are not cleared. | ||
| 274 | Before calling | ||
| 275 | .Fn BIO_copy_next_retry , | ||
| 276 | making sure that | ||
| 277 | .Fa a | ||
| 278 | is not the last BIO in its chain is the responsibility of the caller, | ||
| 279 | for example by checking that | ||
| 280 | .Xr BIO_next 3 | ||
| 281 | does not return | ||
| 282 | .Dv NULL . | ||
| 256 | .Pp | 283 | .Pp |
| 257 | The | 284 | The |
| 258 | .Fn BIO_set_init | 285 | .Fn BIO_set_init |
| @@ -344,7 +371,9 @@ or with | |||
| 344 | .Fn BIO_clear_retry_flags , | 371 | .Fn BIO_clear_retry_flags , |
| 345 | and | 372 | and |
| 346 | .Fn BIO_get_retry_flags | 373 | .Fn BIO_get_retry_flags |
| 347 | first appeared in SSLeay 0.8.0 and | 374 | first appeared in SSLeay 0.8.0, |
| 375 | .Fn BIO_copy_next_retry | ||
| 376 | in SSLeay 0.8.1, and | ||
| 348 | .Fn BIO_get_flags | 377 | .Fn BIO_get_flags |
| 349 | in SSLeay 0.9.0. | 378 | in SSLeay 0.9.0. |
| 350 | These functions have been available since | 379 | These functions have been available since |
