typo
PR: 511 Submitted by: Eric Cronin
This commit is contained in:
parent
d8cbc93585
commit
fbbfd86b67
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue