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

Make sure the type accessed by the LONG and ZLONG ASN1 type
is really a long, to avoid problems on platforms where
sizeof(int) != sizeof(long).
上级 2d9b1b3f
......@@ -101,7 +101,7 @@ struct dh_st
int version;
BIGNUM *p;
BIGNUM *g;
int length; /* optional */
long length; /* optional */
BIGNUM *pub_key; /* g^x */
BIGNUM *priv_key; /* x */
......
......@@ -117,7 +117,7 @@ struct dsa_st
/* This first variable is used to pick up errors where
* a DSA is passed instead of of a EVP_PKEY */
int pad;
int version;
long version;
int write_params;
BIGNUM *p;
BIGNUM *q; /* == 20 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册