Home
last modified time | relevance | path

Searched refs:tmpRandomFile (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-host-ipmid/user_channel/
H A Dcipher_mgmt.cpp124 std::vector<char> tmpRandomFile(tmpFile.length() + 1); in writeCSPrivilegeLevels() local
125 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()