MCPcopy Create free account
hub / github.com/H3d9/sguard_limit / checkFileHashMatch

Method checkFileHashMatch

sguard_limit/transproxy.cpp:203–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

DlgProc_ProxyConfigFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected