VirtualBox

Changeset 102356 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Nov 28, 2023 10:33:34 AM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160492
Message:

IPRT/crypto: Added a RTCrShaCryptGenerateSaltWeak() version which can be overriden in other modules (e.g. testcases). bugref:10551

File:
1 edited

Legend:

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

    r102355 r102356  
    665665}
    666666
    667 /* Override RTCrShaCryptGenerateSalt() from IPRT to generate predictable salts to compare the script outputs. */
    668 DECL_HIDDEN_NOTHROW(int) RTCrShaCryptGenerateSalt(char szSalt[RT_SHACRYPT_MAX_SALT_LEN + 1], size_t cchSalt)
     667/* Override RTCrShaCryptGenerateSaltWeak() from IPRT to generate predictable salts to compare the script outputs. */
     668RTR3DECL(int) RTCrShaCryptGenerateSaltWeak(char szSalt[RT_SHACRYPT_MAX_SALT_LEN + 1], size_t cchSalt)
    669669{
    670670    RT_NOREF(cchSalt);
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