- Timestamp:
- Sep 5, 2018 9:03:06 PM (6 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/http-curl.cpp
r74091 r74094 2300 2300 static const char s_szRequestField[] = "(request-target)"; 2301 2301 size_t const cchKeyId = strlen(pszKeyId); 2302 size_t const cbSigRaw = (RTCrKeyGetBitCount(hKey) + 8) / 8; /** @todo ?? */2302 size_t const cbSigRaw = (RTCrKeyGetBitCount(hKey) + 7) / 8; 2303 2303 size_t const cbSigRawAligned = RT_ALIGN_Z(cbSigRaw, 8); 2304 2304 size_t const cchSigStr = RTBase64EncodedLengthEx(cbSigRaw, RTBASE64_FLAGS_NO_LINE_BREAKS); … … 2337 2337 Assert(cbLeft > sizeof(s_szRequestField)); 2338 2338 memcpy(pszLeft, RT_STR_TUPLE(s_szRequestField)); 2339 pszLeft += sizeof(s_szRequestField) ;2339 pszLeft += sizeof(s_szRequestField) - 1; 2340 2340 2341 2341 rc = RTCrDigestUpdate(hDigest, RT_STR_TUPLE(s_szRequestField)); … … 2353 2353 { 2354 2354 AssertBreakStmt(cbLeft > pCur->cchName, rc = VERR_INTERNAL_ERROR_3); 2355 *pszLeft++ = ' '; 2356 cbLeft--; 2355 2357 memcpy(pszLeft, pCur->szData, pCur->cchName); 2356 2358 pszLeft[pCur->cchName] = '\0'; … … 2368 2370 2369 2371 pszLeft += pCur->cchName; 2370 cbLeft -= pCur->cchName;2372 cbLeft -= pCur->cchName; 2371 2373 } 2372 2374 if (RT_SUCCESS(rc)) -
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r73665 r74094 174 174 ifdef VBOX_WITH_LIBCURL 175 175 PROGRAMS += \ 176 tstRTHttp \176 tstRTHttp-1 \ 177 177 tstRTS3 178 178 endif … … 318 318 319 319 ifdef VBOX_WITH_LIBCURL 320 tstRTHttp _TEMPLATE = VBOXR3TSTEXE321 tstRTHttp _SOURCES = tstRTHttp.cpp322 tstRTHttp _SDKS = VBOX_LIBCURL320 tstRTHttp-1_TEMPLATE = VBOXR3TSTEXE 321 tstRTHttp-1_SOURCES = tstRTHttp-1.cpp 322 tstRTHttp-1_SDKS = VBOX_LIBCURL 323 323 endif 324 324
Note:
See TracChangeset
for help on using the changeset viewer.