VirtualBox

Changeset 95028 in vbox


Ignore:
Timestamp:
May 16, 2022 7:02:53 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151471
Message:

Main/testcases/tstVBoxCrypto.cpp: Some basic testcase for the VFS file part, bugref:9955 [scm fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstVBoxCrypto.cpp

    r95027 r95028  
    5757
    5858/**
    59  * Creates a new cryptographic context and returns the encoded string version on success. 
    60  * 
     59 * Creates a new cryptographic context and returns the encoded string version on success.
     60 *
    6161 * @returns VBox status code.
    6262 * @param   pCryptoIf           Pointer to the cryptographic interface.
     
    7070
    7171    int rc = pCryptoIf->pfnCryptoCtxCreate(pszCipher, pszPassword, &hCryptoCtx);
    72     if ((RT_SUCCESS(rc)))
     72    if (RT_SUCCESS(rc))
    7373    {
    7474        rc = pCryptoIf->pfnCryptoCtxSave(hCryptoCtx, ppszCtx);
     
    8282
    8383/**
    84  * Writes data to the given file until the given size is reached. 
    85  * 
    86  * @returns VBox status code. 
    87  * @param   hVfsFile            The file handle to write to. 
     84 * Writes data to the given file until the given size is reached.
     85 *
     86 * @returns VBox status code.
     87 * @param   hVfsFile            The file handle to write to.
    8888 * @param   cbWrite             Number of bytes to write.
    8989 */
     
    150150
    151151/**
    152  * Writes data to the given file until the given size is reached. 
    153  * 
    154  * @returns VBox status code. 
    155  * @param   hVfsFile            The file handle to write to. 
     152 * Writes data to the given file until the given size is reached.
     153 *
     154 * @returns VBox status code.
     155 * @param   hVfsFile            The file handle to write to.
    156156 * @param   cbFile              Size of the file payload in bytes.
    157157 */
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