Add heartbeat extension bounds check.
[openssl.git] / engines / e_aep.c
index 1518d2bac1e2126635a4bd0895d029337f4847f1..a9372268cd4a21b78504e655390d6d579953fb82 100644 (file)
@@ -1065,7 +1065,7 @@ static AEP_RV MakeAEPBigNum(AEP_VOID_PTR ArbBigNum, AEP_U32 BigNumSize,
        {
        BIGNUM* bn;
        const union { long one; char little; } is_endian = {1};
-       int i,j;
+       AEP_U32 i,j;
 
        /*Cast the ArbBigNum pointer to our BIGNUM struct*/
        bn = (BIGNUM*) ArbBigNum;