- Timestamp:
- Oct 19, 2010 1:23:02 PM (14 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r33228 r33229 2023 2023 uint8_t abDigest[RTSHA256_HASH_SIZE]; 2024 2024 RTSha256(argv[0], strlen(argv[0]), abDigest); 2025 char pszDigest[RTSHA256_ STRING_LEN + 1];2025 char pszDigest[RTSHA256_DIGEST_LEN + 1]; 2026 2026 RTSha256ToString(abDigest, pszDigest, sizeof(pszDigest)); 2027 2027 RTPrintf("Password hash: %s\n", pszDigest); -
trunk/src/VBox/HostServices/auth/simple/VBoxAuthSimple.cpp
r33228 r33229 113 113 uint8_t abDigest[RTSHA256_HASH_SIZE]; 114 114 RTSha256(szPassword, strlen(szPassword), abDigest); 115 char pszDigest[RTSHA256_ STRING_LEN + 1];115 char pszDigest[RTSHA256_DIGEST_LEN + 1]; 116 116 RTSha256ToString(abDigest, pszDigest, sizeof(pszDigest)); 117 117
Note:
See TracChangeset
for help on using the changeset viewer.