VirtualBox

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


Ignore:
Timestamp:
Nov 28, 2023 12:47:27 PM (14 months ago)
Author:
vboxsync
Message:

IPRT/crypto: Removed RTCrShaCryptGenerateSaltWeak() again, as this didn't work on Windows. Now we're using so #ifdef ugliness in UnattendedScript to get a reproducible salt for the testcases. bugref:10551

File:
1 edited

Legend:

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

    r102356 r102360  
    665665}
    666666
    667 /* Override RTCrShaCryptGenerateSaltWeak() from IPRT to generate predictable salts to compare the script outputs. */
    668 RTR3DECL(int) RTCrShaCryptGenerateSaltWeak(char szSalt[RT_SHACRYPT_MAX_SALT_LEN + 1], size_t cchSalt)
    669 {
    670     RT_NOREF(cchSalt);
    671     RTStrPrintf(szSalt, RT_SHACRYPT_MAX_SALT_LEN, "testcase123");
    672     return VINF_SUCCESS;
    673 }
    674 
    675667
    676668/*********************************************************************************************************************************
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