aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/eckaeg
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-02 00:34:25 +0000
committerlloyd <[email protected]>2010-03-02 00:34:25 +0000
commit3435b04adf83c714d9907e85135db30a0e1d07c4 (patch)
treeb75ac5b16f738e1806319031c2d37f7149bf82e6 /src/pubkey/eckaeg
parentdd4984b39fb4d5e43cc9ba97f7180b0780c04217 (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.cpp4
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)));