Changeset 102353 in vbox
- Timestamp:
- Nov 28, 2023 7:36:46 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstUnattendedScript.cpp
r102224 r102353 34 34 #include <VBox/com/VirtualBox.h> 35 35 #include <VBox/com/errorprint.h> 36 37 #include <iprt/crypto/shacrypt.h> 36 38 37 39 #include <iprt/file.h> … … 663 665 } 664 666 667 /* Override RTCrShaCryptGenerateSalt() from IPRT to generate predictable salts to compare the script outputs. */ 668 RTR3DECL(int) RTCrShaCryptGenerateSalt(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 665 675 666 676 /*********************************************************************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.