typo
PR: 511 Submitted by: Eric Cronin
This commit is contained in:
parent
d8cbc93585
commit
fbbfd86b67
@ -199,7 +199,7 @@ EC_KEY *EC_KEY_dup(const EC_KEY *eckey)
|
|||||||
/* copy the private key */
|
/* copy the private key */
|
||||||
if (eckey->priv_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)
|
if (ret->priv_key == NULL)
|
||||||
ok = 0;
|
ok = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user