Changeset 95632 in vbox for trunk/src/VBox/Runtime/tools
- Timestamp:
- Jul 13, 2022 10:55:21 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152274
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/tools/RTSignTool.cpp
r95631 r95632 972 972 } 973 973 974 static PRTCRPKCS7ATTRIBUTE SignToolPkcs7_AuthAttribAppend(PRTCRPKCS7ATTRIBUTES pAuthAttribs, const char *pszAttrId)975 {976 int32_t iPos = RTCrPkcs7Attributes_Append(pAuthAttribs);977 if (iPos >= 0)978 {979 /* Create the attrib and its sub-set of timestamps. */980 PRTCRPKCS7ATTRIBUTE pAttr = pAuthAttribs->papItems[iPos];981 int rc = RTAsn1ObjId_InitFromString(&pAttr->Type, pszAttrId, pAttr->Allocation.pAllocator);982 if (RT_SUCCESS(rc))983 return pAttr;984 RTMsgError("RTAsn1ObjId_InitFromString/%s failed: %Rrc", pszAttrId, rc);985 }986 else987 RTMsgError("RTCrPkcs7Attributes_Append failed: %Rrc", iPos);988 989 return NULL;990 }991 992 974 993 975 static RTEXITCODE SignToolPkcs7_AuthAttribsAddSigningTime(PRTCRPKCS7ATTRIBUTES pAuthAttribs, RTTIMESPEC SigningTime)
Note:
See TracChangeset
for help on using the changeset viewer.