| 153 | } |
| 154 | |
| 155 | void AddPath(CSHA512& hasher, const char *path) |
| 156 | { |
| 157 | struct stat sb = {}; |
| 158 | if (stat(path, &sb) == 0) { |
| 159 | hasher.Write((const unsigned char*)path, strlen(path) + 1); |
| 160 | hasher << sb; |
| 161 | } |
| 162 | } |
| 163 | #endif |
| 164 | |
| 165 | #if HAVE_SYSCTL |
no test coverage detected