Commit 2c2f9e2c authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

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).
parent 2d9b1b3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */

+1 −1
Original line number Diff line number Diff line
@@ -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 */