[nstool] Fixed method name typo.

This commit is contained in:
jakcron 2018-07-29 21:28:01 +09:00
parent b2dd703ce1
commit 6f5c7fd353
2 changed files with 3 additions and 3 deletions

View file

@ -141,7 +141,7 @@ void EsCertProcess::displayCert(const es::SignedData<es::CertificateBody>& cert)
std::cout << " Issuer: " << cert.getBody().getIssuer() << std::endl;
std::cout << " Subject: " << cert.getBody().getSubject() << std::endl;
std::cout << " PublicKeyType: " << getPublicKeyType(cert.getBody().getPublicKeyType());
std::cout << " PublicKeyType: " << getPublicKeyTypeStr(cert.getBody().getPublicKeyType());
if (_HAS_BIT(mCliOutputMode, OUTPUT_EXTENDED))
std::cout << " (" << std::dec << cert.getBody().getPublicKeyType() << ")";
std::cout << std::endl;
@ -229,7 +229,7 @@ const char* EsCertProcess::getEndiannessStr(bool isLittleEndian) const
return isLittleEndian ? "LittleEndian" : "BigEndian";
}
const char* EsCertProcess::getPublicKeyType(es::cert::PublicKeyType type) const
const char* EsCertProcess::getPublicKeyTypeStr(es::cert::PublicKeyType type) const
{
const char* str;
switch (type)

View file

@ -42,5 +42,5 @@ private:
const char* getSignTypeStr(es::sign::SignType type) const;
const char* getEndiannessStr(bool isLittleEndian) const;
const char* getPublicKeyType(es::cert::PublicKeyType type) const;
const char* getPublicKeyTypeStr(es::cert::PublicKeyType type) const;
};