diff options
author | lloyd <[email protected]> | 2009-12-12 04:14:57 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-12 04:14:57 +0000 |
commit | 579b059c9310b98db90eb534fe09e024dcc4f94f (patch) | |
tree | a0858fcb0ef65a12a939f066cf275d33379b5ff5 /src | |
parent | 500392029c610b48695876a54cafb5585a75befb (diff) |
Bizarrely, there are two different OIDs for the same GOST 34.10 param set.
Diffstat (limited to 'src')
-rw-r--r-- | src/pubkey/ec_dompar/ec_dompar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pubkey/ec_dompar/ec_dompar.cpp b/src/pubkey/ec_dompar/ec_dompar.cpp index a23e31cf1..6c688f34e 100644 --- a/src/pubkey/ec_dompar/ec_dompar.cpp +++ b/src/pubkey/ec_dompar/ec_dompar.cpp @@ -409,7 +409,7 @@ std::vector<std::string> get_standard_domain_parameter(const std::string& oid) return dom_par; } - if(oid == "1.2.643.2.2.35.1") // GostR3410-2001-CryptoPro-A-ParamSet + if(oid == "1.2.643.2.2.35.1" || oid == "1.2.643.2.2.36.0") // GostR3410-2001-CryptoPro-A-ParamSet { std::vector<std::string> dom_par; dom_par.push_back("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD97"); |