Changeset 57574 in vbox
- Timestamp:
- Aug 28, 2015 2:29:51 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/x509-core.cpp
r57358 r57574 1251 1251 { 1252 1252 AssertReturnVoid(pExtension->enmValue == RTCRX509EXTENSIONVALUE_BIT_STRING); 1253 AssertReturnVoid(pExtension->ExtnValue.pEncapsulated->cb <= 2); 1253 /* 3 = 1 byte for unused bit count, followed by one or two bytes containing actual bits. RFC-5280 defines bits 0 thru 8. */ 1254 AssertReturnVoid(pExtension->ExtnValue.pEncapsulated->cb <= 3); 1254 1255 pThis->T3.fKeyUsage |= (uint32_t)RTAsn1BitString_GetAsUInt64((PCRTASN1BITSTRING)pExtension->ExtnValue.pEncapsulated); 1255 1256 }
Note:
See TracChangeset
for help on using the changeset viewer.