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:
3 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/x509/v3_tlsf.c

    r94320 r95219  
    11/*
    2  * Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    44 * Licensed under the Apache License 2.0 (the "License").  You may not use
     
    109109
    110110        for (j = 0; j < OSSL_NELEM(tls_feature_tbl); j++)
    111             if (strcasecmp(extval, tls_feature_tbl[j].name) == 0)
     111            if (OPENSSL_strcasecmp(extval, tls_feature_tbl[j].name) == 0)
    112112                break;
    113113        if (j < OSSL_NELEM(tls_feature_tbl))
  • trunk/src/libs/openssl-3.0.3/crypto/x509/v3_utl.c

    r94404 r95219  
    350350                    goto err;
    351351                }
    352                 X509V3_add_value(ntmp, NULL, &values);
     352                if (!X509V3_add_value(ntmp, NULL, &values)) {
     353                    goto err;
     354                }
    353355            }
    354356            break;
     
    363365                    goto err;
    364366                }
    365                 X509V3_add_value(ntmp, vtmp, &values);
     367                if (!X509V3_add_value(ntmp, vtmp, &values)) {
     368                    goto err;
     369                }
    366370                ntmp = NULL;
    367371                q = p + 1;
     
    377381            goto err;
    378382        }
    379         X509V3_add_value(ntmp, vtmp, &values);
     383        if (!X509V3_add_value(ntmp, vtmp, &values)) {
     384            goto err;
     385        }
    380386    } else {
    381387        ntmp = strip_spaces(q);
     
    384390            goto err;
    385391        }
    386         X509V3_add_value(ntmp, NULL, &values);
     392        if (!X509V3_add_value(ntmp, NULL, &values)) {
     393            goto err;
     394        }
    387395    }
    388396    OPENSSL_free(linebuf);
     
    708716    /* IDNA labels cannot match partial wildcards */
    709717    if (!allow_idna &&
    710         subject_len >= 4 && strncasecmp((char *)subject, "xn--", 4) == 0)
     718        subject_len >= 4 && OPENSSL_strncasecmp((char *)subject, "xn--", 4) == 0)
    711719        return 0;
    712720    /* The wildcard may match a literal '*' */
     
    768776                   || ('0' <= p[i] && p[i] <= '9')) {
    769777            if ((state & LABEL_START) != 0
    770                 && len - i >= 4 && strncasecmp((char *)&p[i], "xn--", 4) == 0)
     778                && len - i >= 4 && OPENSSL_strncasecmp((char *)&p[i], "xn--", 4) == 0)
    771779                state |= LABEL_IDNA;
    772780            state &= ~(LABEL_HYPHEN | LABEL_START);
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