diff --git a/programs/nstool/source/EsCertProcess.cpp b/programs/nstool/source/EsCertProcess.cpp index 73f44a3..1299b6a 100644 --- a/programs/nstool/source/EsCertProcess.cpp +++ b/programs/nstool/source/EsCertProcess.cpp @@ -141,7 +141,7 @@ void EsCertProcess::displayCert(const es::SignedData& 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) diff --git a/programs/nstool/source/EsCertProcess.h b/programs/nstool/source/EsCertProcess.h index 11c2430..42db9e8 100644 --- a/programs/nstool/source/EsCertProcess.h +++ b/programs/nstool/source/EsCertProcess.h @@ -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; }; \ No newline at end of file