VirtualBox

Changeset 53015 in vbox for trunk


Ignore:
Timestamp:
Oct 9, 2014 10:05:11 PM (10 years ago)
Author:
vboxsync
Message:

asn1-ut-string.cpp: Two bugfixes in the RTAsn1String_QueryUtf8 method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asn1/asn1-ut-string.cpp

    r51858 r53015  
    14401440                    break;
    14411441
    1442                 /** @todo Implement compating ASN1_TAG_BMP_STRING, ASN1_TAG_UNIVERSAL_STRING and
     1442                /** @todo Implement comparing ASN1_TAG_BMP_STRING, ASN1_TAG_UNIVERSAL_STRING and
    14431443                 *        ASN1_TAG_T61_STRING with UTF-8 strings without conversion. */
    14441444
     
    15281528                        char           *pszDst = psz;
    15291529                        size_t          cchSrc = pThis->Asn1Core.cb;
    1530                         uint8_t const  *pbSrc  = (uint8_t const *)psz;
     1530                        uint8_t const  *pbSrc  = pThis->Asn1Core.uData.pu8;
    15311531                        while (cchSrc > 0)
    15321532                        {
     
    15471547                        char           *pszDst = psz;
    15481548                        size_t          cchSrc = pThis->Asn1Core.cb;
    1549                         uint8_t const  *pbSrc  = (uint8_t const *)psz;
     1549                        uint8_t const  *pbSrc  = pThis->Asn1Core.uData.pu8;
    15501550                        while (cchSrc > 0)
    15511551                        {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette