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

index e894612cda55055fb3d2f6203525347846fa8c16..48df360082b1f28e8ec9d1a06324bd6c85e8c63d 100644 (file)
@@ -1023,7 +1023,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)
                        {