Changeset 62221 in vbox for trunk/src/VBox
- Timestamp:
- Jul 13, 2016 2:47:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r61012 r62221 1587 1587 */ 1588 1588 RTERRINFOSTATIC StaticErrInfo; 1589 vrc = RTCrX509Certificate_ReadFromBuffer(&m->SignerCert, pvSignature, cbSignature, 0 /*fFlags*/, 1589 vrc = RTCrX509Certificate_ReadFromBuffer(&m->SignerCert, pvSignature, cbSignature, 1590 RTCRX509CERT_READ_F_PEM_ONLY, 1590 1591 &g_RTAsn1DefaultAllocator, RTErrInfoInitStatic(&StaticErrInfo), pszSubFileNm); 1591 1592 HRESULT hrc; … … 1690 1691 hrc = E_OUTOFMEMORY; 1691 1692 } 1693 else if (vrc == VERR_NOT_FOUND || vrc == VERR_EOF) 1694 hrc = setErrorBoth(E_FAIL, vrc, tr("Malformed .cert-file for '%s': Signer's certificate not found (%Rrc)"), 1695 pTask->locInfo.strPath.c_str(), vrc); 1692 1696 else 1693 1697 hrc = setErrorVrc(vrc, tr("Error reading the signer's certificate from '%s' for '%s' (%Rrc): %s"),
Note:
See TracChangeset
for help on using the changeset viewer.