summaryrefslogtreecommitdiffstats
path: root/crypto/dh
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-03-05 13:49:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-03-05 13:49:27 +0000
commitdd6b494eb3d4ac25e068907f581bf63301dff951 (patch)
treee787ff96dfacedcc78f122c6160e2939139a4ebb /crypto/dh
parentc9bea5bad348959f54fa8d4d5a41cf46ce071ef3 (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.h2
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 */