Typo.
This commit is contained in:
parent
b2c0518e6a
commit
bd50e31325
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey)
|
||||||
penclen = i2o_ECPublicKey(ec_key, &p);
|
penclen = i2o_ECPublicKey(ec_key, &p);
|
||||||
if (penclen <= 0)
|
if (penclen <= 0)
|
||||||
goto err;
|
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))
|
ptype, pval, penc, penclen))
|
||||||
return 1;
|
return 1;
|
||||||
err:
|
err:
|
||||||
|
|
Loading…
Reference in a new issue