Changeset 95219 in vbox for trunk/src/libs/openssl-3.0.3/test/evp_extra_test.c
- Timestamp:
- Jun 8, 2022 7:43:44 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151730
- Location:
- trunk/src/libs/openssl-3.0.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.3
- Property svn:mergeinfo
-
old new 14 14 /vendor/openssl/3.0.1:150323-150324 15 15 /vendor/openssl/3.0.2:150728-150729 16 /vendor/openssl/current:147554-150727 16 /vendor/openssl/3.0.3:151497-151729 17 /vendor/openssl/current:147554-151496
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.3/test/evp_extra_test.c
r94404 r95219 36 36 #include "internal/sizes.h" 37 37 #include "crypto/evp.h" 38 #include "../e_os.h" /* strcasecmp */39 38 40 39 static OSSL_LIB_CTX *testctx = NULL; … … 1740 1739 1741 1740 for (i = 0; i < OSSL_NELEM(ec_encodings); i++) { 1742 if ( strcasecmp(enc_name, ec_encodings[i].encoding_name) == 0) {1741 if (OPENSSL_strcasecmp(enc_name, ec_encodings[i].encoding_name) == 0) { 1743 1742 *enc = ec_encodings[i].encoding; 1744 1743 break; … … 1962 1961 1963 1962 if (!TEST_int_gt(EVP_DigestVerifyFinal(md_ctx_verify, sig, sig_len), 0)) 1963 goto done; 1964 1965 /* 1966 * Try verify again with non-matching 0 length id but ensure that it can 1967 * be set on the context and overrides the previous value. 1968 */ 1969 1970 if (!TEST_true(EVP_DigestVerifyInit(md_ctx_verify, NULL, check_md, NULL, 1971 pkey))) 1972 goto done; 1973 1974 if (!TEST_int_gt(EVP_PKEY_CTX_set1_id(sctx, NULL, 0), 0)) 1975 goto done; 1976 1977 if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, sizeof(kMsg)))) 1978 goto done; 1979 1980 if (!TEST_int_eq(EVP_DigestVerifyFinal(md_ctx_verify, sig, sig_len), 0)) 1964 1981 goto done; 1965 1982
Note:
See TracChangeset
for help on using the changeset viewer.