aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_ameth.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-03-23 14:08:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-03-23 14:08:33 +0000
commitbd50e31325516bcdd45627f5d76f96c38be89eba (patch)
tree09c278e0b5afaaf1b07781955e9c25ae7c16f6a6 /crypto/ec/ec_ameth.c
parentb2c0518e6ae73f09abadaac3d00e65ee0c315f14 (diff)
downloadopenssl-bd50e31325516bcdd45627f5d76f96c38be89eba.tar.gz
Typo.
Diffstat (limited to 'crypto/ec/ec_ameth.c')
-rw-r--r--crypto/ec/ec_ameth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_ameth.c b/crypto/ec/ec_ameth.c
index 4a136619ab..aead4db841 100644
--- a/crypto/ec/ec_ameth.c
+++ b/crypto/ec/ec_ameth.c
@@ -119,7 +119,7 @@ static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey)
penclen = i2o_ECPublicKey(ec_key, &p);
if (penclen <= 0)
goto err;
- if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(EVP_PKEY_DSA),
+ if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(EVP_PKEY_EC),
ptype, pval, penc, penclen))
return 1;
err: