Changeset 52600 in vbox for trunk/src/VBox/Runtime/common/asn1
- Timestamp:
- Sep 4, 2014 10:59:00 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 95876
- Location:
- trunk/src/VBox/Runtime/common/asn1
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/asn1/asn1-cursor.cpp
r52533 r52600 28 28 * Header Files * 29 29 *******************************************************************************/ 30 #define RT_STRICT 30 31 #include "internal/iprt.h" 31 32 #include <iprt/asn1.h> … … 47 48 * 48 49 * For reference, 'RTSignTool verify-exe RTSignTool.exe', requires a value of 15 49 * to work without hitting the limit. 50 * to work without hitting the limit for signatures with simple timestamps, and 51 * 23 (amd64/rel = ~3KB) for the new microsoft timestamp counter signatures. 50 52 */ 51 53 #ifdef IN_RING3 -
trunk/src/VBox/Runtime/common/asn1/asn1-dump.cpp
r51858 r52600 84 84 static void rtAsn1DumpPrintIdent(PRTASN1DUMPDATA pData, uint32_t uDepth) 85 85 { 86 uint32_t i = 0; 87 uDepth *= 2; 88 while (i < uDepth) 86 uint32_t cchLeft = uDepth * 2; 87 while (cchLeft > 0) 89 88 { 90 89 static char const s_szSpaces[] = " "; 91 uint32_t cch = RT_MIN( uDepth, sizeof(s_szSpaces) - 1);90 uint32_t cch = RT_MIN(cchLeft, sizeof(s_szSpaces) - 1); 92 91 rtAsn1DumpPrintf(pData, &s_szSpaces[sizeof(s_szSpaces) - 1 - cch]); 93 i += cch;92 cchLeft -= cch; 94 93 } 95 94 } -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-time-decode.cpp
r51770 r52600 178 178 * Check the dot. 179 179 */ 180 if (*pchFraction == '.')180 if (*pchFraction != '.') 181 181 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_INVALID_GENERALIZED_TIME_ENCODING, 182 182 "%s: Expected GeneralizedTime fraction dot, found: '%c' ('%.*s')",
Note:
See TracChangeset
for help on using the changeset viewer.