VirtualBox

Ignore:
Timestamp:
Mar 31, 2022 9:00:36 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150730
Message:

libs/openssl: Update to 3.0.2 and switch to it, bugref:10128

Location:
trunk/src/libs/openssl-3.0.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-3.0.2

    • Property svn:mergeinfo
      •  

        old new  
        1313/vendor/openssl/1.1.1k:145841-145843
        1414/vendor/openssl/3.0.1:150323-150324
        15 /vendor/openssl/current:147554-150322
         15/vendor/openssl/3.0.2:150728-150729
         16/vendor/openssl/current:147554-150727
  • trunk/src/libs/openssl-3.0.2/apps/req.c

    r94082 r94404  
    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
     
    776776    }
    777777    if (newreq || gen_x509) {
    778         if (pkey == NULL /* can happen only if !newreq */) {
    779             BIO_printf(bio_err, "Must provide a signature key using -key\n");
     778        if (CAcert == NULL && pkey == NULL) {
     779            BIO_printf(bio_err, "Must provide a signature key using -key or"
     780                " provide -CA / -CAkey\n");
    780781            goto end;
    781782        }
     
    15951596    else
    15961597        *pkeytype = OPENSSL_strdup(keytype);
     1598
     1599    if (*pkeytype == NULL) {
     1600        BIO_printf(bio_err, "Out of memory\n");
     1601        EVP_PKEY_free(param);
     1602        return NULL;
     1603    }
     1604
    15971605    if (keylen >= 0)
    15981606        *pkeylen = keylen;
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