summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ubsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/ubsec.c')
-rw-r--r--sys/dev/pci/ubsec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c
index 983c9d01c9b..60c5d2d248e 100644
--- a/sys/dev/pci/ubsec.c
+++ b/sys/dev/pci/ubsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubsec.c,v 1.104 2002/07/03 00:19:33 jason Exp $ */
+/* $OpenBSD: ubsec.c,v 1.105 2002/07/03 00:24:29 jason Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -1407,7 +1407,7 @@ ubsec_callback2(sc, q)
krp->krp_status = E2BIG;
else
ubsec_kshift_l(me->me_shiftbits,
- me->me_C.dma_vaddr, me->me_modbits,
+ me->me_C.dma_vaddr, me->me_normbits,
krp->krp_param[UBS_MODEXP_PAR_C].crp_p,
krp->krp_param[UBS_MODEXP_PAR_C].crp_nbits);
@@ -1850,6 +1850,7 @@ ubsec_kprocess_modexp(sc, krp)
me->me_modbits = nbits;
me->me_shiftbits = shiftbits;
+ me->me_normbits = normbits;
/* Sanity check: result bits must be >= true modulus bits. */
if (krp->krp_param[UBS_MODEXP_PAR_C].crp_nbits < nbits) {