| 586 | } |
| 587 | |
| 588 | WCHAR CryptConfig::get_base_drive_letter() |
| 589 | { |
| 590 | const WCHAR *p = &this->m_basedir[0]; |
| 591 | |
| 592 | while (*p && *p != ':') |
| 593 | p++; |
| 594 | |
| 595 | if (p > &this->m_basedir[0] && *p == ':') { |
| 596 | return *(p - 1); |
| 597 | } |
| 598 | else { |
| 599 | return 0; |
| 600 | } |
| 601 | } |
| 602 | |
| 603 | bool CryptConfig::check_config(wstring& mes) |
| 604 | { |
no outgoing calls
no test coverage detected