summaryrefslogtreecommitdiffstats
path: root/crypto/ecdh
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-06-04 09:10:43 +0000
committerRichard Levitte <levitte@openssl.org>2003-06-04 09:10:43 +0000
commitf6eba601b098a7a7762e53dafea55da7a176e36c (patch)
tree3ed608908fbd0d6bbbfc57aedbc422205a37af7d /crypto/ecdh
parentf796dc5c06137b18ce2ebba5617d4777428005b7 (diff)
Make sure that size_t matches size_t.
Diffstat (limited to 'crypto/ecdh')
-rw-r--r--crypto/ecdh/ech_ossl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/ecdh/ech_ossl.c b/crypto/ecdh/ech_ossl.c
index b3cff5ad90..6a8ed84644 100644
--- a/crypto/ecdh/ech_ossl.c
+++ b/crypto/ecdh/ech_ossl.c
@@ -109,7 +109,8 @@ static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, E
BN_CTX *ctx;
EC_POINT *tmp=NULL;
BIGNUM *x=NULL, *y=NULL;
- int ret= -1, buflen, len;
+ int ret= -1;
+ size_t buflen, len;
unsigned char *buf=NULL;
if (outlen > INT_MAX)