VirtualBox

Changeset 45343 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Apr 4, 2013 5:24:03 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84758
Message:

Runtime/http: better error handling in RTHttpCertDigest()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstHttp.cpp

    r45339 r45343  
    4545
    4646    RTHTTP hHttp;
    47     int rc = RTHttpCreate(&hHttp);
    4847    char *pszBuf = NULL;
    4948    PRTSTREAM CAFile = NULL;
    5049
     50    int rc = RTHttpCreate(&hHttp);
     51
    5152    // create certificate file
    52     rc = RTStrmOpen(CAFILE_NAME, "w+b", &CAFile);
     53    if (RT_SUCCESS(rc))
     54        rc = RTStrmOpen(CAFILE_NAME, "w+b", &CAFile);
    5355
    5456    // fetch root CA certificate (new one, often avoided in cert chains by
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