VirtualBox

Ignore:
Timestamp:
Nov 2, 2022 7:40:16 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154372
Message:

libs: Switch to openssl-3.0.7, bugref:10317

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

Legend:

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

    • Property svn:mergeinfo
      •  

        old new  
        1515/vendor/openssl/3.0.2:150728-150729
        1616/vendor/openssl/3.0.3:151497-151729
        17 /vendor/openssl/current:147554-151496
         17/vendor/openssl/3.0.7:154371
         18/vendor/openssl/current:147554-154370
  • trunk/src/libs/openssl-3.0.7/crypto/bio/bio_sock2.c

    r94320 r97372  
    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
     
    5353        return INVALID_SOCKET;
    5454    }
    55 # ifndef OPENSSL_NO_KTLS
    56     {
    57         /*
    58          * The new socket is created successfully regardless of ktls_enable.
    59          * ktls_enable doesn't change any functionality of the socket, except
    60          * changing the setsockopt to enable the processing of ktls_start.
    61          * Thus, it is not a problem to call it for non-TLS sockets.
    62          */
    63         ktls_enable(sock);
    64     }
    65 # endif
    6655
    6756    return sock;
     
    129118        return 0;
    130119    }
     120# ifndef OPENSSL_NO_KTLS
     121    /*
     122     * The new socket is created successfully regardless of ktls_enable.
     123     * ktls_enable doesn't change any functionality of the socket, except
     124     * changing the setsockopt to enable the processing of ktls_start.
     125     * Thus, it is not a problem to call it for non-TLS sockets.
     126     */
     127    ktls_enable(sock);
     128# endif
    131129    return 1;
    132130}
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