aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dsa
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/dsa
parent2d9b1b3ffaec2cb482ae74899f2588ef0ddf97c4 (diff)
downloadopenssl-2c2f9e2cc32b8970f5839c51038572926b4a096f.tar.gz
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/dsa')
-rw-r--r--crypto/dsa/dsa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h
index 377a76799b..1ddc37f9fb 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 */