Typo.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 23 Mar 2006 14:08:33 +0000 (14:08 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 23 Mar 2006 14:08:33 +0000 (14:08 +0000)
crypto/ec/ec_ameth.c

index 4a13661..aead4db 100644 (file)
@@ -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: