- Timestamp:
- Sep 2, 2014 8:36:53 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 95829
- Location:
- trunk/src/VBox/Runtime/common/asn1
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/asn1/asn1-ut-boolean-decode.cpp
r51770 r52563 69 69 } 70 70 } 71 RT_ZERO(*pThis); 71 72 return rc; 72 73 } -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-core-decode.cpp
r51770 r52563 44 44 return VINF_SUCCESS; 45 45 } 46 RT_ZERO(*pThis); 46 47 return rc; 47 48 } -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-dyntype-decode.cpp
r51770 r52563 77 77 break; 78 78 case ASN1_TAG_SEQUENCE: 79 RT_ZERO(*pDynType); 79 80 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_BAD_TAG, "ASN.1 SEQUENCE shall be constructed."); 80 81 case ASN1_TAG_SET: 82 RT_ZERO(*pDynType); 81 83 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_BAD_TAG, "ASN.1 SET shall be constructed."); 82 84 case ASN1_TAG_OID: … … 108 110 109 111 default: 112 RT_ZERO(*pDynType); 110 113 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_TAG_NOT_IMPL, 111 114 "Primitive tag %u (%#x) not implemented.", … … 117 120 { 118 121 case ASN1_TAG_BOOLEAN: 122 RT_ZERO(*pDynType); 119 123 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_BAD_TAG, "ASN.1 BOOLEAN shall be primitive."); 120 124 case ASN1_TAG_INTEGER: 125 RT_ZERO(*pDynType); 121 126 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_BAD_TAG, "ASN.1 BOOLEAN shall be primitive."); 122 127 case ASN1_TAG_ENUMERATED: 128 RT_ZERO(*pDynType); 123 129 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_BAD_TAG, "ASN.1 ENUMERATED shall be primitive."); 124 130 case ASN1_TAG_REAL: 131 RT_ZERO(*pDynType); 125 132 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_BAD_TAG, "ASN.1 REAL shall be primitive."); 126 133 case ASN1_TAG_BIT_STRING: … … 131 138 break; 132 139 case ASN1_TAG_NULL: 140 RT_ZERO(*pDynType); 133 141 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_BAD_TAG, "ASN.1 NULL shall be primitive."); 134 142 case ASN1_TAG_SEQUENCE: … … 153 161 break; 154 162 case ASN1_TAG_OID: 163 RT_ZERO(*pDynType); 155 164 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_BAD_TAG, "ASN.1 OBJECT ID shall be primitive."); 156 165 case ASN1_TAG_RELATIVE_OID: 166 RT_ZERO(*pDynType); 157 167 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_BAD_TAG, "ASN.1 RELATIVE OID shall be primitive."); 158 168 … … 175 185 176 186 default: 187 RT_ZERO(*pDynType); 177 188 return RTAsn1CursorSetInfo(pCursor, VERR_ASN1_DYNTYPE_TAG_NOT_IMPL, 178 189 "Constructed tag %u (%#x) not implemented.", … … 223 234 AssertFailedReturn(VERR_INTERNAL_ERROR_4); 224 235 } 236 if (RT_SUCCESS(rc)) 237 return rc; 225 238 } 239 RT_ZERO(*pDynType); 226 240 return rc; 227 241 } -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-integer-decode.cpp
r51770 r52563 67 67 } 68 68 } 69 RT_ZERO(*pThis); 69 70 return rc; 70 71 } -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-null-decode.cpp
r51770 r52563 57 57 } 58 58 } 59 RT_ZERO(*pThis); 59 60 return rc; 60 61 } -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-objid-decode.cpp
r51773 r52563 349 349 } 350 350 } 351 RT_ZERO(*pThis); 351 352 return rc; 352 353 } -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-octetstring-decode.cpp
r51770 r52563 66 66 pszErrorTag, pThis->Asn1Core.fClass, pThis->Asn1Core.uTag); 67 67 } 68 RT_ZERO(*pThis); 68 69 return rc; 69 70 } -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-string-decode.cpp
r51770 r52563 163 163 } 164 164 } 165 RT_ZERO(*pThis); 165 166 return rc; 166 167 }
Note:
See TracChangeset
for help on using the changeset viewer.