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

index c3bef29..73a274c 100644 (file)
@@ -1024,7 +1024,7 @@ static int surewarehk_modexp(BIGNUM *r, const 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,SUREWARE_F_SUREWAREHK_MOD_EXP,ret);
                        if (ret==1)
                        {