提交 bd50e313 编写于 作者: D Dr. Stephen Henson

Typo.

上级 b2c0518e
...@@ -119,7 +119,7 @@ static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) ...@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册