diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index 1152fbb2d3c6390bef681b628d081c72da2bd10f..9bc1d319f9018f84c5db0c76c8779515541425fa 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h @@ -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 */ diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h index 377a76799be18648bfc4210e575e0f5f7094fbae..1ddc37f9fb9737198b013e69933a44176c9afc95 100644 --- a/crypto/dsa/dsa.h +++ b/crypto/dsa/dsa.h @@ -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 */