| 201 | } |
| 202 | |
| 203 | bool ProxyManager::checkFileHashMatch() { |
| 204 | UCHAR hash[32]{}; |
| 205 | if (!_getDllFileHash(hash)) { |
| 206 | return false; |
| 207 | } |
| 208 | return memcmp(hash, kVsocksDllSha256, 32) == 0; |
| 209 | } |
| 210 | |
| 211 | bool ProxyManager::checkProxyLoaded() { |
| 212 | return check() != 0; |
no outgoing calls
no test coverage detected