fix gost and case sensative compile bug by updating git submodule

This commit is contained in:
Jeff Becker 2017-05-01 08:50:48 -04:00
parent 3121e8912b
commit 155d63a195
2 changed files with 8 additions and 8 deletions

View file

@ -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

@ -1 +1 @@
Subproject commit a8196d1f33d15b0bc4c992e4ea1dab1aef4c84a7
Subproject commit cfd3c3628e92a3cf258e650d16ed9d282fe29dcb