diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2002-03-05 13:49:27 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2002-03-05 13:49:27 +0000 |
commit | dd6b494eb3d4ac25e068907f581bf63301dff951 (patch) | |
tree | e787ff96dfacedcc78f122c6160e2939139a4ebb /crypto/dh | |
parent | c9bea5bad348959f54fa8d4d5a41cf46ce071ef3 (diff) |
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).
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/dh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index 1152fbb2d3..9bc1d319f9 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 */ |