From 6f5c7fd353217a9fba8a7409b4febda67aedbd32 Mon Sep 17 00:00:00 2001 From: jakcron Date: Sun, 29 Jul 2018 21:28:01 +0900 Subject: [PATCH] [nstool] Fixed method name typo. --- programs/nstool/source/EsCertProcess.cpp | 4 ++-- programs/nstool/source/EsCertProcess.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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