OLD | NEW |
1 =pod | 1 =pod |
2 | 2 |
3 =head1 NAME | 3 =head1 NAME |
4 | 4 |
5 BIO_f_ssl, BIO_set_ssl, BIO_get_ssl, BIO_set_ssl_mode, BIO_set_ssl_renegotiate_b
ytes, | 5 BIO_f_ssl, BIO_set_ssl, BIO_get_ssl, BIO_set_ssl_mode, BIO_set_ssl_renegotiate_b
ytes, |
6 BIO_get_num_renegotiates, BIO_set_ssl_renegotiate_timeout, BIO_new_ssl, | 6 BIO_get_num_renegotiates, BIO_set_ssl_renegotiate_timeout, BIO_new_ssl, |
7 BIO_new_ssl_connect, BIO_new_buffer_ssl_connect, BIO_ssl_copy_session_id, | 7 BIO_new_ssl_connect, BIO_new_buffer_ssl_connect, BIO_ssl_copy_session_id, |
8 BIO_ssl_shutdown - SSL BIO | 8 BIO_ssl_shutdown - SSL BIO |
9 | 9 |
10 =head1 SYNOPSIS | 10 =head1 SYNOPSIS |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 } | 301 } |
302 | 302 |
303 BIO_puts(sbio, "--------------------------------------------------\r\n"); | 303 BIO_puts(sbio, "--------------------------------------------------\r\n"); |
304 BIO_puts(sbio, "\r\n"); | 304 BIO_puts(sbio, "\r\n"); |
305 | 305 |
306 /* Since there is a buffering BIO present we had better flush it */ | 306 /* Since there is a buffering BIO present we had better flush it */ |
307 BIO_flush(sbio); | 307 BIO_flush(sbio); |
308 | 308 |
309 BIO_free_all(sbio); | 309 BIO_free_all(sbio); |
310 | 310 |
| 311 =head1 BUGS |
| 312 |
| 313 In OpenSSL versions before 1.0.0 the BIO_pop() call was handled incorrectly, |
| 314 the I/O BIO reference count was incorrectly incremented (instead of |
| 315 decremented) and dissociated with the SSL BIO even if the SSL BIO was not |
| 316 explicitly being popped (e.g. a pop higher up the chain). Applications which |
| 317 included workarounds for this bug (e.g. freeing BIOs more than once) should |
| 318 be modified to handle this fix or they may free up an already freed BIO. |
| 319 |
311 =head1 SEE ALSO | 320 =head1 SEE ALSO |
312 | 321 |
313 TBA | 322 TBA |
OLD | NEW |