Changeset 94082 in vbox for trunk/src/libs/openssl-3.0.1/doc/man3/BIO_f_ssl.pod
- Timestamp:
- Mar 3, 2022 7:17:34 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150325
- Location:
- trunk/src/libs/openssl-3.0.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.1
- Property svn:mergeinfo
-
old new 12 12 /vendor/openssl/1.1.1c:131722-131725 13 13 /vendor/openssl/1.1.1k:145841-145843 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.1/doc/man3/BIO_f_ssl.pod
r91772 r94082 12 12 =head1 SYNOPSIS 13 13 14 =for commentmultiple includes14 =for openssl multiple includes 15 15 16 16 #include <openssl/bio.h> … … 55 55 SSL structure is also freed using SSL_free(). 56 56 57 BIO_set_ssl() sets the internal SSL pointer of BIO B<b> to B<ssl> using57 BIO_set_ssl() sets the internal SSL pointer of SSL BIO B<b> to B<ssl> using 58 58 the close flag B<c>. 59 59 60 BIO_get_ssl() retrieves the SSL pointer of BIO B<b>, it can then be60 BIO_get_ssl() retrieves the SSL pointer of SSL BIO B<b>, it can then be 61 61 manipulated using the standard SSL library functions. 62 62 … … 64 64 is 1 client mode is set. If B<client> is 0 server mode is set. 65 65 66 BIO_set_ssl_renegotiate_bytes() sets the renegotiate byte count 66 BIO_set_ssl_renegotiate_bytes() sets the renegotiate byte count of SSL BIO B<b> 67 67 to B<num>. When set after every B<num> bytes of I/O (read and write) 68 68 the SSL session is automatically renegotiated. B<num> must be at 69 69 least 512 bytes. 70 70 71 BIO_set_ssl_renegotiate_timeout() sets the renegotiate timeout to72 B<seconds>. When the renegotiate timeout elapses the session is 73 automatically renegotiated.71 BIO_set_ssl_renegotiate_timeout() sets the renegotiate timeout of SSL BIO B<b> 72 to B<seconds>. 73 When the renegotiate timeout elapses the session is automatically renegotiated. 74 74 75 75 BIO_get_num_renegotiates() returns the total number of session 76 renegotiations due to I/O or timeout .76 renegotiations due to I/O or timeout of SSL BIO B<b>. 77 77 78 78 BIO_new_ssl() allocates an SSL BIO using SSL_CTX B<ctx> and using … … 83 83 84 84 BIO_new_buffer_ssl_connect() creates a new BIO chain consisting 85 of a buffering BIO, an SSL BIO (using B<ctx>) and a connect 86 BIO. 85 of a buffering BIO, an SSL BIO (using B<ctx>), and a connect BIO. 87 86 88 87 BIO_ssl_copy_session_id() copies an SSL session id between … … 97 96 98 97 BIO_do_handshake() attempts to complete an SSL handshake on the 99 supplied BIO and establish the SSL connection. It returns 1 100 if the connection was established successfully. A zero or negative 101 value is returned if the connection could not be established, the 102 call BIO_should_retry() should be used for non blocking connect BIOs 103 to determine if the call should be retried. If an SSL connection has 104 already been established this call has no effect. 98 supplied BIO and establish the SSL connection. 99 For non-SSL BIOs the connection is done typically at TCP level. 100 If domain name resolution yields multiple IP addresses all of them are tried 101 after connect() failures. 102 The function returns 1 if the connection was established successfully. 103 A zero or negative value is returned if the connection could not be established. 104 The call BIO_should_retry() should be used for nonblocking connect BIOs 105 to determine if the call should be retried. 106 If a connection has already been established this call has no effect. 105 107 106 108 =head1 NOTES … … 171 173 exit(1); 172 174 } 173 174 /* Don't want any retries */175 SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);176 175 177 176 /* XXX We might want to do other things with ssl here */ … … 232 231 } 233 232 234 SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);235 233 bbio = BIO_new(BIO_f_buffer()); 236 234 sbio = BIO_push(bbio, sbio); … … 296 294 Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. 297 295 298 Licensed under the OpenSSL license(the "License"). You may not use296 Licensed under the Apache License 2.0 (the "License"). You may not use 299 297 this file except in compliance with the License. You can obtain a copy 300 298 in the file LICENSE in the source distribution or at
Note:
See TracChangeset
for help on using the changeset viewer.