PR: 511
Submitted by: Eric Cronin
This commit is contained in:
Bodo Möller 2003-02-19 16:29:47 +00:00
parent d8cbc93585
commit fbbfd86b67

View file

@ -199,7 +199,7 @@ EC_KEY *EC_KEY_dup(const EC_KEY *eckey)
/* copy the private key */
if (eckey->priv_key)
{
ret->priv_key = BN_dup(ret->priv_key);
ret->priv_key = BN_dup(eckey->priv_key);
if (ret->priv_key == NULL)
ok = 0;
}