VirtualBox

Ignore:
Timestamp:
Mar 31, 2022 9:00:36 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150730
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/provider_core.c

    r94320 r94404  
    604604    OSSL_PROVIDER *actualtmp = NULL;
    605605
     606    if (actualprov != NULL)
     607        *actualprov = NULL;
     608
    606609    if ((store = get_provider_store(prov->libctx)) == NULL)
    607610        return 0;
     
    660663    CRYPTO_THREAD_unlock(store->lock);
    661664    if (actualprov != NULL)
    662         ossl_provider_free(actualtmp);
     665        ossl_provider_free(*actualprov);
    663666    return 0;
    664667}
     
    19481951{
    19491952    int sign_nid = OBJ_txt2nid(sign_name);
    1950     int digest_nid = OBJ_txt2nid(digest_name);
     1953    int digest_nid = NID_undef;
    19511954    int pkey_nid = OBJ_txt2nid(pkey_name);
     1955
     1956    if (digest_name != NULL && digest_name[0] != '\0'
     1957        && (digest_nid = OBJ_txt2nid(digest_name)) == NID_undef)
     1958            return 0;
    19521959
    19531960    if (sign_nid == NID_undef)
     
    19611968        return 1;
    19621969
    1963     if (digest_nid == NID_undef
    1964             || pkey_nid == NID_undef)
     1970    if (pkey_nid == NID_undef)
    19651971        return 0;
    19661972
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