Some issues were found while doing script testings. These issues don't appear on Travis, however some of the issues were resolved in the scripts by making these changes. This is to test how travis will react.

This commit is contained in:
Cyrus 2021-01-22 10:08:50 -05:00
parent 4d8315f443
commit f80d9af3b7
2 changed files with 4 additions and 3 deletions

View File

@ -19,8 +19,8 @@ class HirsRuntimeException : public std::runtime_error {
const std::string& origin = "");
public:
HirsRuntimeException(const std::string& origin,
const std::string& msg);
HirsRuntimeException(const std::string& msg,
const std::string& origin);
virtual ~HirsRuntimeException();
};

View File

@ -522,8 +522,9 @@ string CommandTpm2::createNvWriteCommandArgs(const string& nvIndex,
/**
* Method to get a quote (signed pcr selection) from the TPM 2.0 device.
*
* @param pcr_selection selection of pcrs to sign
* @param nonce blob provided by the ACA when the Identity Claim Request
* @param pcr_election selection of pcrs to sign
* @return the argument string to be affixed to tpm quote
*/
string CommandTpm2::getQuote(const string& pcr_selection,
const string& nonce) {