diff options
author | Jack Lloyd <[email protected]> | 2017-09-13 14:05:36 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-13 14:05:36 -0400 |
commit | 751a3d36bd6072a1e042c8c2c6662fc7ae7535be (patch) | |
tree | 4cbddf2bdce9be521fcd8ed4673f61c330b7a462 /src/lib | |
parent | 6cae09878e467aa0898863953e4b02f57439fef5 (diff) | |
parent | 8da78e708e35810ea35ad9f3bfcf3ff4e1f40063 (diff) |
Merge GH #1208 Fix decoding of RFC 5915 ECC keys
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/pubkey/ecc_key/ecc_key.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/pubkey/ecc_key/ecc_key.cpp b/src/lib/pubkey/ecc_key/ecc_key.cpp index ad62f6ae3..7274a3cd9 100644 --- a/src/lib/pubkey/ecc_key/ecc_key.cpp +++ b/src/lib/pubkey/ecc_key/ecc_key.cpp @@ -177,9 +177,6 @@ EC_PrivateKey::EC_PrivateKey(const AlgorithmIdentifier& alg_id, .decode_optional_string(public_key_bits, BIT_STRING, 1, PRIVATE) .end_cons(); - if(!key_parameters.empty() && key_parameters != alg_id.oid) - throw Decoding_Error("EC_PrivateKey - inner and outer OIDs did not match"); - if(public_key_bits.empty()) { m_public_key = domain().get_base_point() * |