VirtualBox

Ignore:
Timestamp:
Sep 3, 2018 8:13:06 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/rest: Started implementing http-signatures for oci. bugref:9167 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/rest/RTCRestClientApiBaseOci.cpp

    r74052 r74053  
    146146        RTStrPrintf(szTmp, sizeof(szTmp), "%zu", a_rStrXmitBody.length());
    147147
    148         int rc = RTHttpAppendHeader(a_hHttp, s_szContentLength, szTmp, 0);
     148        rc = RTHttpAppendHeader(a_hHttp, s_szContentLength, szTmp, 0);
    149149        AssertRCReturn(rc, rc);
    150150        pszContentLength = RTHttpGetHeader(a_hHttp, RT_STR_TUPLE(s_szContentLength));
     
    177177        rc = RTBase64EncodeEx(abHash, sizeof(abHash), RTBASE64_FLAGS_NO_LINE_BREAKS, szTmp, sizeof(szTmp), NULL);
    178178
    179         int rc = RTHttpAppendHeader(a_hHttp, s_szXContentSha256, szTmp, 0);
     179        rc = RTHttpAppendHeader(a_hHttp, s_szXContentSha256, szTmp, 0);
    180180        AssertRCReturn(rc, rc);
    181181        pszValue = RTHttpGetHeader(a_hHttp, RT_STR_TUPLE(s_szXContentSha256));
     
    223223                    Time.u8Hour, Time.u8Minute, Time.u8Second);
    224224
    225         int rc = RTHttpAppendHeader(a_hHttp, s_szXDate, szTmp, 0);
     225        rc = RTHttpAppendHeader(a_hHttp, s_szXDate, szTmp, 0);
    226226        AssertRCReturn(rc, rc);
    227227        pszXDate = RTHttpGetHeader(a_hHttp, RT_STR_TUPLE(s_szXDate));
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