Changeset 73807 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Aug 22, 2018 8:02:29 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTCrPkix-1.cpp
r73749 r73807 342 342 static struct { void const *pv; size_t cb; } const s_aTexts[] = 343 343 { 344 { RT_STR_TUPLE("") }, 344 345 { RT_STR_TUPLE("IPRT") }, 345 346 { RT_STR_TUPLE("abcdef") }, … … 355 356 if (RT_SUCCESS(rc)) 356 357 { 358 RTTESTI_CHECK_RC(RTCrDigestUpdate(hDigest, s_aTexts[iText].pv, s_aTexts[iText].cb), VINF_SUCCESS); 359 357 360 rc = RTCrPkixSignatureSign(hSign, hDigest, abSignature, &cbSignature); 358 361 if (RT_SUCCESS(rc)) … … 367 370 RTTestIFailed("RTCrPkixSignatureSign failed with %Rrc for %u bits MD with %u bits key (%s)", 368 371 rc, s_aSignatures[iSig].cBits, g_aKeyPairs[i].cBits, s_aSignatures[iSig].pszObjId); 372 RTCrDigestRelease(hDigest); 369 373 } 370 374 else
Note:
See TracChangeset
for help on using the changeset viewer.