VirtualBox

Ignore:
Timestamp:
Mar 31, 2022 9:00:36 AM (3 years ago)
Author:
vboxsync
Message:

libs/openssl: Update to 3.0.2 and switch to it, bugref:10128

Location:
trunk/src/libs/openssl-3.0.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-3.0.2

    • Property svn:mergeinfo
      •  

        old new  
        1313/vendor/openssl/1.1.1k:145841-145843
        1414/vendor/openssl/3.0.1:150323-150324
        15 /vendor/openssl/current:147554-150322
         15/vendor/openssl/3.0.2:150728-150729
         16/vendor/openssl/current:147554-150727
  • trunk/src/libs/openssl-3.0.2/crypto/threads_pthread.c

    r94082 r94404  
    11/*
    2  * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    44 * Licensed under the Apache License 2.0 (the "License").  You may not use
     
    262262}
    263263# ifndef FIPS_MODULE
    264 #  ifdef OPENSSL_SYS_UNIX
    265 
    266 static pthread_once_t fork_once_control = PTHREAD_ONCE_INIT;
    267 
    268 static void fork_once_func(void)
    269 {
    270 #   ifndef OPENSSL_NO_DEPRECATED_3_0
    271     pthread_atfork(OPENSSL_fork_prepare,
    272                    OPENSSL_fork_parent, OPENSSL_fork_child);
    273 #   endif
    274 }
    275 #  endif
    276 
    277264int openssl_init_fork_handlers(void)
    278265{
    279 #  ifdef OPENSSL_SYS_UNIX
    280     if (pthread_once(&fork_once_control, fork_once_func) == 0)
    281         return 1;
    282 #  endif
    283     return 0;
     266    return 1;
    284267}
    285268# endif /* FIPS_MODULE */
Note: See TracChangeset for help on using the changeset viewer.

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