Searched refs:tmpRandomFile (Results 1 – 1 of 1) sorted by relevance
124 std::vector<char> tmpRandomFile(tmpFile.length() + 1); in writeCSPrivilegeLevels() local125 strncpy(tmpRandomFile.data(), tmpFile.c_str(), tmpFile.length() + 1); in writeCSPrivilegeLevels()127 int fd = mkstemp(tmpRandomFile.data()); in writeCSPrivilegeLevels()143 unlink(tmpRandomFile.data()); in writeCSPrivilegeLevels()148 if (std::rename(tmpRandomFile.data(), cipherSuitePrivFileName.c_str())) in writeCSPrivilegeLevels()152 unlink(tmpRandomFile.data()); in writeCSPrivilegeLevels()