Make sure that size_t matches size_t.
authorRichard Levitte <levitte@openssl.org>
Wed, 4 Jun 2003 09:10:43 +0000 (09:10 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 4 Jun 2003 09:10:43 +0000 (09:10 +0000)
crypto/ecdh/ech_ossl.c

index b3cff5ad90f103294906fa6a3567980988e64a9a..6a8ed8464437394c5022ba3c7917c4ee77d596c3 100644 (file)
@@ -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)