diff options
author | lloyd <[email protected]> | 2010-03-02 00:34:25 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-02 00:34:25 +0000 |
commit | 3435b04adf83c714d9907e85135db30a0e1d07c4 (patch) | |
tree | b75ac5b16f738e1806319031c2d37f7149bf82e6 /src/pubkey/eckaeg | |
parent | dd4984b39fb4d5e43cc9ba97f7180b0780c04217 (diff) |
Remove a fairly useless member of EC_PublicKey that was only used for
handling ImplicitCA ECDSA keys in the CVC code. Currently dealt with
in CVC by simply commenting out the calls - CVC is already pretty
broken and I'd much rather have ECC sane and under control and CVC
totally broken than ECC remaining in its current state.
Diffstat (limited to 'src/pubkey/eckaeg')
-rw-r--r-- | src/pubkey/eckaeg/eckaeg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pubkey/eckaeg/eckaeg.cpp b/src/pubkey/eckaeg/eckaeg.cpp index 3e0f717e0..fe47e3c31 100644 --- a/src/pubkey/eckaeg/eckaeg.cpp +++ b/src/pubkey/eckaeg/eckaeg.cpp @@ -29,7 +29,7 @@ void ECKAEG_PublicKey::set_all_values(ECKAEG_PublicKey const& other) { m_param_enc = other.m_param_enc; m_eckaeg_core = other.m_eckaeg_core; - m_enc_public_point = other.m_enc_public_point; + if(other.mp_dom_pars.get()) { mp_dom_pars.reset(new EC_Domain_Params(*(other.mp_dom_pars))); @@ -92,7 +92,7 @@ void ECKAEG_PrivateKey::set_all_values(ECKAEG_PrivateKey const& other) m_private_value = other.m_private_value; m_param_enc = other.m_param_enc; m_eckaeg_core = other.m_eckaeg_core; - m_enc_public_point = other.m_enc_public_point; + if(other.mp_dom_pars.get()) { mp_dom_pars.reset(new EC_Domain_Params(*(other.mp_dom_pars))); |