Changeset 94912 in vbox for trunk/src/VBox/Main/src-all/HashedPw.cpp
- Timestamp:
- May 8, 2022 7:05:31 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151320
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/HashedPw.cpp
r93115 r94912 65 65 /* hash */ 66 66 uint8_t abHash[RTSHA512_HASH_SIZE]; 67 int rc = RTSha512FromString(pszSaltEnd + 1, abHash);68 return RT_SUCCESS( rc);67 int vrc = RTSha512FromString(pszSaltEnd + 1, abHash); 68 return RT_SUCCESS(vrc); 69 69 } 70 70 … … 96 96 uint8_t abHash[RTSHA512_HASH_SIZE]; 97 97 RTSha512(a_pstrPassword->c_str(), a_pstrPassword->length(), abHash); 98 int rc = RTSha512ToString(abHash, pszHashedPw, sizeof(szHashedPw) - (size_t)(pszHashedPw - &szHashedPw[0]));99 AssertReleaseRC( rc);98 int vrc = RTSha512ToString(abHash, pszHashedPw, sizeof(szHashedPw) - (size_t)(pszHashedPw - &szHashedPw[0])); 99 AssertReleaseRC(vrc); 100 100 } 101 101
Note:
See TracChangeset
for help on using the changeset viewer.