Changeset 94404 in vbox for trunk/src/libs/openssl-3.0.2/crypto/provider_core.c
- Timestamp:
- Mar 31, 2022 9:00:36 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150730
- 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 13 13 /vendor/openssl/1.1.1k:145841-145843 14 14 /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
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.2/crypto/provider_core.c
r94320 r94404 604 604 OSSL_PROVIDER *actualtmp = NULL; 605 605 606 if (actualprov != NULL) 607 *actualprov = NULL; 608 606 609 if ((store = get_provider_store(prov->libctx)) == NULL) 607 610 return 0; … … 660 663 CRYPTO_THREAD_unlock(store->lock); 661 664 if (actualprov != NULL) 662 ossl_provider_free( actualtmp);665 ossl_provider_free(*actualprov); 663 666 return 0; 664 667 } … … 1948 1951 { 1949 1952 int sign_nid = OBJ_txt2nid(sign_name); 1950 int digest_nid = OBJ_txt2nid(digest_name);1953 int digest_nid = NID_undef; 1951 1954 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; 1952 1959 1953 1960 if (sign_nid == NID_undef) … … 1961 1968 return 1; 1962 1969 1963 if (digest_nid == NID_undef 1964 || pkey_nid == NID_undef) 1970 if (pkey_nid == NID_undef) 1965 1971 return 0; 1966 1972
Note:
See TracChangeset
for help on using the changeset viewer.