Changeset 71878 in vbox for trunk/src/VBox/Runtime/tools/RTSignTool.cpp
- Timestamp:
- Apr 17, 2018 2:32:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/tools/RTSignTool.cpp
r71877 r71878 433 433 if (RT_SUCCESS(rc)) 434 434 { 435 //PRTCRPKCS7CONTENTINFO pCntInfo = pAttr->uValues.pContentInfos->papItems[iPos];436 //rc = RTCrPkcs7ContentInfo_Clone(pCntInfo, &pSrc->ContentInfo, pAttr->Allocation.pAllocator);437 if ( RT_SUCCESS(rc))435 if (cVerbosity > 0) 436 RTMsgInfo("Added nested signature (#%u)", iActualPos); 437 if (cVerbosity >= 3) 438 438 { 439 if (cVerbosity > 0) 440 RTMsgInfo("Added nested signature"); 441 if (cVerbosity >= 3) 442 { 443 RTMsgInfo("SingerInfo dump after change:"); 444 RTAsn1Dump(RTCrPkcs7SignerInfo_GetAsn1Core(pSignerInfo), 0, 2, RTStrmDumpPrintfV, g_pStdOut); 445 } 446 447 return RTEXITCODE_SUCCESS; 439 RTMsgInfo("SingerInfo dump after change:"); 440 RTAsn1Dump(RTCrPkcs7SignerInfo_GetAsn1Core(pSignerInfo), 0, 2, RTStrmDumpPrintfV, g_pStdOut); 448 441 } 449 450 RTMsgError("RTCrPkcs7ContentInfo_Clone failed: %Rrc", iPos); 451 } 452 else 453 RTMsgError("RTCrPkcs7ContentInfos_Append failed: %Rrc", iPos); 442 return RTEXITCODE_SUCCESS; 443 } 444 445 RTMsgError("RTCrPkcs7ContentInfos_InsertEx failed: %Rrc", rc); 454 446 } 455 447 return RTEXITCODE_FAILURE;
Note:
See TracChangeset
for help on using the changeset viewer.