summaryrefslogtreecommitdiffstats
path: root/crypto/dh
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-03-05 13:48:51 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-03-05 13:48:51 +0000
commit2c2f9e2cc32b8970f5839c51038572926b4a096f (patch)
tree4411309bbd3078fd1b4b6a3574e903cafa2d9638 /crypto/dh
parent2d9b1b3ffaec2cb482ae74899f2588ef0ddf97c4 (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 */