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 4a136619ab92a7b83367812eeb3195ae017d99c3..aead4db841767e48e0376e0012fb29d96c30a451 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: