b33address

This commit is contained in:
orignal 2019-04-10 14:15:49 -04:00
parent c1ecfcc73e
commit 25b1166fd9
5 changed files with 40 additions and 4 deletions

View file

@ -50,7 +50,7 @@ static void ToUpper(std::string & str)
/** @brief returns the signing key number given its name or -1 if there is no key of that type */
uint16_t NameToSigType(const std::string & keyname)
{
if(keyname.size() == 1) return atoi(keyname.c_str());
if(keyname.size() <= 2) return atoi(keyname.c_str());
std::string name = keyname;
ToUpper(name);