VirtualBox

Changeset 64883 in vbox for trunk/include/iprt/crypto


Ignore:
Timestamp:
Dec 15, 2016 3:26:20 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112290
Message:

IPRT/ASN.1: Refactored array handling (SET OF, SEQUENCE OF) to use a pointer array instead of an object instance array. The old approach would move objects around in memory after they'd be initialized/decoded, making certain core optimziations involving pointers to object members impossible, as well as causing potentially causing trouble when modifying structures that takes down pointers after decoding. Fixed validation bug in rtCrX509Name_CheckSanityExtra where it didn't check that the RDNs had subitems but instead checked the parent twice (slight risk).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/crypto/pkcs7.h

    r64865 r64883  
    225225 * @returns Pointer to the signing time if found, NULL if not.
    226226 * @param   pThis               The SignerInfo to search.
    227  * @param   ppContentInfo       Where to return the pointer to the counter
     227 * @param   ppContentInfoRet    Where to return the pointer to the counter
    228228 *                              signature, optional.
    229229 */
    230230RTDECL(PCRTASN1TIME) RTCrPkcs7SignerInfo_GetMsTimestamp(PCRTCRPKCS7SIGNERINFO pThis,
    231                                                         struct RTCRPKCS7CONTENTINFO const **ppContentInfo);
     231                                                        struct RTCRPKCS7CONTENTINFO const **ppContentInfoRet);
    232232
    233233
Note: See TracChangeset for help on using the changeset viewer.

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