Forgot one of the casts
authorRichard Levitte <levitte@openssl.org>
Wed, 3 Apr 2002 15:00:41 +0000 (15:00 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 3 Apr 2002 15:00:41 +0000 (15:00 +0000)
crypto/engine/hw_sureware.c

index 78d75d9beb95a7e7204286c2b828521e71702747..72e881d342468b120efb1e3d9b44c07a350160d9 100644 (file)
@@ -903,7 +903,7 @@ static int surewarehk_modexp(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
                                                 (unsigned long *)p->d,
                                                 a->top*sizeof(BN_ULONG),
                                                 (unsigned long *)a->d,
-                                                r->d);
+                                                (unsigned long *)r->d);
                        surewarehk_error_handling(msg,ENGINE_F_SUREWAREHK_MOD_EXP,ret);
                        if (ret==1)
                        {