summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2003-02-19 16:29:47 +0000
committerBodo Möller <bodo@openssl.org>2003-02-19 16:29:47 +0000
commitfbbfd86b67ab6b99608963ba6e37cca3f3da3882 (patch)
treed59dbf8f2fd35bb884082317177fca54a2bf491c /crypto
parentd8cbc9358545634c7f00666702e696814f258821 (diff)
downloadopenssl-new-fbbfd86b67ab6b99608963ba6e37cca3f3da3882.tar.gz
typo
PR: 511 Submitted by: Eric Cronin
Diffstat (limited to 'crypto')
-rw-r--r--crypto/ec/ec_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_key.c b/crypto/ec/ec_key.c
index d7758c91d3..aef3934c17 100644
--- a/crypto/ec/ec_key.c
+++ b/crypto/ec/ec_key.c
@@ -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;
}