Changed the method name for the pcr list command

This commit is contained in:
Cyrus 2020-07-29 12:31:34 -04:00
parent 6ae95da3a0
commit 9fb983c828
3 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ class CommandTpm2 {
std::string getQuote(const std::string& pcr_selection,
const std::string& nonce);
std::string getPcrList();
std::string getPcrsList();
};
} // namespace tpm2

View File

@ -558,7 +558,7 @@ string CommandTpm2::getQuote(const string& pcr_selection,
* Method to get the full list of pcrs from the TPM.
*
*/
string CommandTpm2::getPcrList() {
string CommandTpm2::getPcrsList() {
string pcrslist;
stringstream argsStream;

View File

@ -106,7 +106,7 @@ int provision() {
"14,15,16,17,18,19,20,21,22,23",
decryptedNonce));
certificateRequest.set_pcrslist(tpm2.getPcrList());
certificateRequest.set_pcrslist(tpm2.getPcrsList());
const string& akCertificateByteString
= provisioner.sendAttestationCertificateRequest(certificateRequest);