mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-05-01 13:12:30 +02:00
b33address
This commit is contained in:
parent
c1ecfcc73e
commit
25b1166fd9
5 changed files with 40 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue