mirror of https://github.com/openssl/openssl.git
				
				
				
			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).
This commit is contained in:
		
							parent
							
								
									2d9b1b3ffa
								
							
						
					
					
						commit
						2c2f9e2cc3
					
				|  | @ -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 */ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue