mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-01-22 21:37:18 +01:00
Merge pull request #10 from majestrate/master
fix gost and case sensative compile bug by updating git submodule
This commit is contained in:
commit
528ff0d8f8
|
@ -27,8 +27,8 @@ std::string SigTypeToName(uint16_t keytype)
|
|||
return "RSA-4096-SHA512";
|
||||
case i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519:
|
||||
return "ED25519-SHA512";
|
||||
case i2p::data::SIGNING_KEY_TYPE_GOSTR3410_A_GOSTR3411:
|
||||
return "GOSTR3410-A-GOSTR3411";
|
||||
case i2p::data::SIGNING_KEY_TYPE_GOSTR3410_CRYPTO_PRO_A_GOSTR3411_256:
|
||||
return "GOSTR3410-A-GOSTR3411-SHA256";
|
||||
default:
|
||||
std::stringstream ss;
|
||||
ss << "unknown: " << keytype;
|
||||
|
@ -65,7 +65,7 @@ uint16_t NameToSigType(const std::string & keyname)
|
|||
|
||||
if(name.find("ED25519") != npos) return i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519;
|
||||
|
||||
if(name.find("GOSTR3410") != npos) return i2p::data::SIGNING_KEY_TYPE_GOSTR3410_A_GOSTR3411;
|
||||
if(name.find("GOSTR3410-SHA256") != npos) return i2p::data::SIGNING_KEY_TYPE_GOSTR3410_CRYPTO_PRO_A_GOSTR3411_256;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
2
i2pd
2
i2pd
|
@ -1 +1 @@
|
|||
Subproject commit a8196d1f33d15b0bc4c992e4ea1dab1aef4c84a7
|
||||
Subproject commit cfd3c3628e92a3cf258e650d16ed9d282fe29dcb
|
Loading…
Reference in a new issue