VirtualBox

Ignore:
Timestamp:
Jun 8, 2022 7:43:44 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151730
Message:

libs/openssl: Switched to v3.0.3, bugref:10128

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  
        1414/vendor/openssl/3.0.1:150323-150324
        1515/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
  • trunk/src/libs/openssl-3.0.3/test/evp_extra_test.c

    r94404 r95219  
    3636#include "internal/sizes.h"
    3737#include "crypto/evp.h"
    38 #include "../e_os.h" /* strcasecmp */
    3938
    4039static OSSL_LIB_CTX *testctx = NULL;
     
    17401739
    17411740    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) {
    17431742            *enc = ec_encodings[i].encoding;
    17441743            break;
     
    19621961
    19631962    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))
    19641981        goto done;
    19651982
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