VirtualBox

Ignore:
Timestamp:
Mar 31, 2022 9:00:36 AM (3 years ago)
Author:
vboxsync
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/demos/smime/smver.c

    r94082 r94404  
    2828
    2929    st = X509_STORE_new();
     30    if (st == NULL)
     31        goto err;
    3032
    3133    /* Read in signer certificate and private key */
    3234    tbio = BIO_new_file("cacert.pem", "r");
    3335
    34     if (!tbio)
     36    if (tbio == NULL)
    3537        goto err;
    3638
    3739    cacert = PEM_read_bio_X509(tbio, NULL, 0, NULL);
    3840
    39     if (!cacert)
     41    if (cacert == NULL)
    4042        goto err;
    4143
     
    4749    in = BIO_new_file("smout.txt", "r");
    4850
    49     if (!in)
     51    if (in == NULL)
    5052        goto err;
    5153
     
    5355    p7 = SMIME_read_PKCS7(in, &cont);
    5456
    55     if (!p7)
     57    if (p7 == NULL)
    5658        goto err;
    5759
    5860    /* File to output verified content to */
    5961    out = BIO_new_file("smver.txt", "w");
    60     if (!out)
     62    if (out == NULL)
    6163        goto err;
    6264
     
    7577        ERR_print_errors_fp(stderr);
    7678    }
     79
     80    X509_STORE_free(st);
    7781    PKCS7_free(p7);
    7882    X509_free(cacert);
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