VirtualBox

忽略:
時間撮記:
2022-3-3 下午07:17:34 (3 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
150325
訊息:

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

位置:
trunk/src/libs/openssl-3.0.1
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/libs/openssl-3.0.1

    • 屬性 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_new.pod

    r91772 r94082  
    33=head1 NAME
    44
    5 BIO_new, BIO_up_ref, BIO_free, BIO_vfree, BIO_free_all
     5BIO_new_ex, BIO_new, BIO_up_ref, BIO_free, BIO_vfree, BIO_free_all
    66- BIO allocation and freeing functions
    77
     
    1010 #include <openssl/bio.h>
    1111
    12  BIO *  BIO_new(const BIO_METHOD *type);
    13  int    BIO_up_ref(BIO *a);
    14  int    BIO_free(BIO *a);
    15  void   BIO_vfree(BIO *a);
    16  void   BIO_free_all(BIO *a);
     12 BIO *BIO_new_ex(OSSL_LIB_CTX *libctx, const BIO_METHOD *type);
     13 BIO *BIO_new(const BIO_METHOD *type);
     14 int BIO_up_ref(BIO *a);
     15 int BIO_free(BIO *a);
     16 void BIO_vfree(BIO *a);
     17 void BIO_free_all(BIO *a);
    1718
    1819=head1 DESCRIPTION
    1920
    20 The BIO_new() function returns a new BIO using method B<type>.
     21The BIO_new_ex() function returns a new BIO using method B<type> associated with
     22the library context I<libctx> (see OSSL_LIB_CTX(3)). The library context may be
     23NULL to indicate the default library context.
     24
     25The BIO_new() is the same as BIO_new_ex() except the default library context is
     26always used.
    2127
    2228BIO_up_ref() increments the reference count associated with the BIO object.
     
    3642=head1 RETURN VALUES
    3743
    38 BIO_new() returns a newly created BIO or NULL if the call fails.
     44BIO_new_ex() and BIO_new() return a newly created BIO or NULL if the call fails.
    3945
    4046BIO_up_ref() and BIO_free() return 1 for success and 0 for failure.
     
    5460BIO_set() was removed in OpenSSL 1.1.0 as BIO type is now opaque.
    5561
     62BIO_new_ex() was added in OpenSSL 3.0.
     63
    5664=head1 EXAMPLES
    5765
     
    6270=head1 COPYRIGHT
    6371
    64 Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
     72Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
    6573
    66 Licensed under the OpenSSL license (the "License").  You may not use
     74Licensed under the Apache License 2.0 (the "License").  You may not use
    6775this file except in compliance with the License.  You can obtain a copy
    6876in the file LICENSE in the source distribution or at
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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