VirtualBox

Ignore:
Timestamp:
Mar 3, 2022 7:17:34 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150325
Message:

libs/openssl-3.0.1: started applying and adjusting our OpenSSL changes to 3.0.1. bugref:10128

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  
        1212/vendor/openssl/1.1.1c:131722-131725
        1313/vendor/openssl/1.1.1k:145841-145843
         14/vendor/openssl/3.0.1:150323-150324
         15/vendor/openssl/current:147554-150322
  • trunk/src/libs/openssl-3.0.1/doc/man3/BIO_f_ssl.pod

    r91772 r94082  
    1212=head1 SYNOPSIS
    1313
    14 =for comment multiple includes
     14=for openssl multiple includes
    1515
    1616 #include <openssl/bio.h>
     
    5555SSL structure is also freed using SSL_free().
    5656
    57 BIO_set_ssl() sets the internal SSL pointer of BIO B<b> to B<ssl> using
     57BIO_set_ssl() sets the internal SSL pointer of SSL BIO B<b> to B<ssl> using
    5858the close flag B<c>.
    5959
    60 BIO_get_ssl() retrieves the SSL pointer of BIO B<b>, it can then be
     60BIO_get_ssl() retrieves the SSL pointer of SSL BIO B<b>, it can then be
    6161manipulated using the standard SSL library functions.
    6262
     
    6464is 1 client mode is set. If B<client> is 0 server mode is set.
    6565
    66 BIO_set_ssl_renegotiate_bytes() sets the renegotiate byte count
     66BIO_set_ssl_renegotiate_bytes() sets the renegotiate byte count of SSL BIO B<b>
    6767to B<num>. When set after every B<num> bytes of I/O (read and write)
    6868the SSL session is automatically renegotiated. B<num> must be at
    6969least 512 bytes.
    7070
    71 BIO_set_ssl_renegotiate_timeout() sets the renegotiate timeout to
    72 B<seconds>. When the renegotiate timeout elapses the session is
    73 automatically renegotiated.
     71BIO_set_ssl_renegotiate_timeout() sets the renegotiate timeout of SSL BIO B<b>
     72to B<seconds>.
     73When the renegotiate timeout elapses the session is automatically renegotiated.
    7474
    7575BIO_get_num_renegotiates() returns the total number of session
    76 renegotiations due to I/O or timeout.
     76renegotiations due to I/O or timeout of SSL BIO B<b>.
    7777
    7878BIO_new_ssl() allocates an SSL BIO using SSL_CTX B<ctx> and using
     
    8383
    8484BIO_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.
     85of a buffering BIO, an SSL BIO (using B<ctx>), and a connect BIO.
    8786
    8887BIO_ssl_copy_session_id() copies an SSL session id between
     
    9796
    9897BIO_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.
     98supplied BIO and establish the SSL connection.
     99For non-SSL BIOs the connection is done typically at TCP level.
     100If domain name resolution yields multiple IP addresses all of them are tried
     101after connect() failures.
     102The function returns 1 if the connection was established successfully.
     103A zero or negative value is returned if the connection could not be established.
     104The call BIO_should_retry() should be used for nonblocking connect BIOs
     105to determine if the call should be retried.
     106If a connection has already been established this call has no effect.
    105107
    106108=head1 NOTES
     
    171173     exit(1);
    172174 }
    173 
    174  /* Don't want any retries */
    175  SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);
    176175
    177176 /* XXX We might want to do other things with ssl here */
     
    232231 }
    233232
    234  SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);
    235233 bbio = BIO_new(BIO_f_buffer());
    236234 sbio = BIO_push(bbio, sbio);
     
    296294Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
    297295
    298 Licensed under the OpenSSL license (the "License").  You may not use
     296Licensed under the Apache License 2.0 (the "License").  You may not use
    299297this file except in compliance with the License.  You can obtain a copy
    300298in the file LICENSE in the source distribution or at
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette