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:
6 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/apps/lib/apps.c

    r94404 r95219  
    689689    char *pass_string;
    690690
    691     if (exclude_http && (strncasecmp(uri, "http://", 7) == 0
    692                          || strncasecmp(uri, "https://", 8) == 0)) {
     691    if (exclude_http && (OPENSSL_strncasecmp(uri, "http://", 7) == 0
     692                         || OPENSSL_strncasecmp(uri, "https://", 8) == 0)) {
    693693        BIO_printf(bio_err, "error: HTTP retrieval not allowed for %s\n", desc);
    694694        return ret;
     
    11831183int set_dateopt(unsigned long *dateopt, const char *arg)
    11841184{
    1185     if (strcasecmp(arg, "rfc_822") == 0)
     1185    if (OPENSSL_strcasecmp(arg, "rfc_822") == 0)
    11861186        *dateopt = ASN1_DTFLGS_RFC822;
    1187     else if (strcasecmp(arg, "iso_8601") == 0)
     1187    else if (OPENSSL_strcasecmp(arg, "iso_8601") == 0)
    11881188        *dateopt = ASN1_DTFLGS_ISO8601;
    11891189    return 0;
     
    11921192int set_ext_copy(int *copy_type, const char *arg)
    11931193{
    1194     if (strcasecmp(arg, "none") == 0)
     1194    if (OPENSSL_strcasecmp(arg, "none") == 0)
    11951195        *copy_type = EXT_COPY_NONE;
    1196     else if (strcasecmp(arg, "copy") == 0)
     1196    else if (OPENSSL_strcasecmp(arg, "copy") == 0)
    11971197        *copy_type = EXT_COPY_ADD;
    1198     else if (strcasecmp(arg, "copyall") == 0)
     1198    else if (OPENSSL_strcasecmp(arg, "copyall") == 0)
    11991199        *copy_type = EXT_COPY_ALL;
    12001200    else
     
    12761276
    12771277    for (ptbl = in_tbl; ptbl->name; ptbl++) {
    1278         if (strcasecmp(arg, ptbl->name) == 0) {
     1278        if (OPENSSL_strcasecmp(arg, ptbl->name) == 0) {
    12791279            *flags &= ~ptbl->mask;
    12801280            if (c)
  • trunk/src/libs/openssl-3.0.3/apps/lib/engine_loader.c

    r94404 r95219  
    7272    OSSL_STORE_LOADER_CTX *ctx = NULL;
    7373
    74     if (strncasecmp(p, ENGINE_SCHEME_COLON, sizeof(ENGINE_SCHEME_COLON) - 1)
     74    if (OPENSSL_strncasecmp(p, ENGINE_SCHEME_COLON, sizeof(ENGINE_SCHEME_COLON) - 1)
    7575        != 0)
    7676        return NULL;
  • trunk/src/libs/openssl-3.0.3/apps/lib/http_server.c

    r94320 r95219  
    11/*
    2  * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    44 * Licensed under the Apache License 2.0 (the "License").  You may not use
     
    454454        *line_end = '\0';
    455455        /* https://tools.ietf.org/html/rfc7230#section-6.3 Persistence */
    456         if (found_keep_alive != NULL && strcasecmp(key, "Connection") == 0) {
    457             if (strcasecmp(value, "keep-alive") == 0)
     456        if (found_keep_alive != NULL
     457            && OPENSSL_strcasecmp(key, "Connection") == 0) {
     458            if (OPENSSL_strcasecmp(value, "keep-alive") == 0)
    458459                *found_keep_alive = 1;
    459             else if (strcasecmp(value, "close") == 0)
     460            else if (OPENSSL_strcasecmp(value, "close") == 0)
    460461                *found_keep_alive = 0;
    461462        }
  • trunk/src/libs/openssl-3.0.3/apps/lib/names.c

    r94320 r95219  
    11/*
    2  * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    44 * Licensed under the Apache License 2.0 (the "License").  You may not use
     
    1212#include <openssl/safestack.h>
    1313#include "names.h"
    14 
    15 #ifdef _WIN32
    16 # define strcasecmp _stricmp
    17 #endif
     14#include "openssl/crypto.h"
    1815
    1916int name_cmp(const char * const *a, const char * const *b)
    2017{
    21     return strcasecmp(*a, *b);
     18    return OPENSSL_strcasecmp(*a, *b);
    2219}
    2320
  • trunk/src/libs/openssl-3.0.3/apps/lib/vms_term_sock.c

    r94320 r95219  
    11/*
    2  * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved.
    33 * Copyright 2016 VMS Software, Inc. All Rights Reserved.
    44 *
     
    134134
    135135    LogMessage ("Enter 'q' or 'Q' to quit ...");
    136     while (strcasecmp (TermBuff, "Q")) {
     136    while (OPENSSL_strcasecmp (TermBuff, "Q")) {
    137137        /*
    138138        ** Create the terminal socket
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