VirtualBox

Ignore:
Timestamp:
Jul 1, 2014 8:00:18 PM (10 years ago)
Author:
vboxsync
Message:

fixed bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/pemfile.cpp

    r51770 r51782  
    204204    if (rtCrPemFindMarker(pbContent, cbContent, offStart, "BEGIN", 5, paMarkers, cMarkers,
    205205                          &pMatch, NULL /*poffStart*/, poffBegin))
    206         return rtCrPemFindMarker(pbContent, cbContent, *poffBegin, "END", 3, pMatch, 1,
    207                                  NULL /*ppMatch*/, poffEnd, poffResume);
     206    {
     207        if (rtCrPemFindMarker(pbContent, cbContent, *poffBegin, "END", 3, pMatch, 1,
     208                              NULL /*ppMatch*/, poffEnd, poffResume))
     209        {
     210            *ppMatch = pMatch;
     211            return true;
     212        }
     213    }
     214    *ppMatch = NULL;
    208215    return false;
    209216}
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