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/crypto/evp/ctrl_params_translate.c

    r94404 r95219  
    3737#include "crypto/dh.h"
    3838#include "crypto/ec.h"
    39 
    40 #include "e_os.h"                /* strcasecmp() for Windows */
    4139
    4240struct translation_ctx_st;       /* Forwarding */
     
    906904        /* Convert KDF type strings to numbers */
    907905        for (; kdf_type_map->kdf_type_str != NULL; kdf_type_map++)
    908             if (strcasecmp(ctx->p2, kdf_type_map->kdf_type_str) == 0) {
     906            if (OPENSSL_strcasecmp(ctx->p2, kdf_type_map->kdf_type_str) == 0) {
    909907                ctx->p1 = kdf_type_map->kdf_type_num;
    910908                ret = 1;
     
    10751073
    10761074    if (state == PRE_CTRL_STR_TO_PARAMS) {
    1077         ctx->p2 = (char *)ossl_dh_gen_type_id2name(atoi(ctx->p2));
     1075        if ((ctx->p2 = (char *)ossl_dh_gen_type_id2name(atoi(ctx->p2)))
     1076             == NULL) {
     1077            ERR_raise(ERR_LIB_EVP, EVP_R_INVALID_VALUE);
     1078            return 0;
     1079        }
    10781080        ctx->p1 = strlen(ctx->p2);
    10791081    }
     
    24702472             */
    24712473            if (item->ctrl_str != NULL
    2472                 && strcasecmp(tmpl->ctrl_str, item->ctrl_str) == 0)
     2474                && OPENSSL_strcasecmp(tmpl->ctrl_str, item->ctrl_str) == 0)
    24732475                ctrl_str = tmpl->ctrl_str;
    24742476            else if (item->ctrl_hexstr != NULL
    2475                      && strcasecmp(tmpl->ctrl_hexstr, item->ctrl_hexstr) == 0)
     2477                     && OPENSSL_strcasecmp(tmpl->ctrl_hexstr,
     2478                                           item->ctrl_hexstr) == 0)
    24762479                ctrl_hexstr = tmpl->ctrl_hexstr;
    24772480            else
     
    25012504                 && tmpl->action_type != item->action_type)
    25022505                || (item->param_key != NULL
    2503                     && strcasecmp(tmpl->param_key, item->param_key) != 0))
     2506                    && OPENSSL_strcasecmp(tmpl->param_key,
     2507                                          item->param_key) != 0))
    25042508                continue;
    25052509        } else {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette