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 b3cff5a..6a8ed84 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)