summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-07-03 00:19:34 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-07-03 00:19:34 +0000
commit490a250def73fa912efa70f603db5baa762d7cdf (patch)
treeb1dfb5f54e6f8c2a43768465049ec4ede6f6f5db /sys
parent1423d3a1f1bec6ff9813a5edb87e254e7f153fce (diff)
result only needs to be as big as the number of real bits in the modulus
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/ubsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c
index ca0eb562f13..983c9d01c9b 100644
--- a/sys/dev/pci/ubsec.c
+++ b/sys/dev/pci/ubsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubsec.c,v 1.103 2002/06/17 08:05:47 deraadt Exp $ */
+/* $OpenBSD: ubsec.c,v 1.104 2002/07/03 00:19:33 jason Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -1848,7 +1848,7 @@ ubsec_kprocess_modexp(sc, krp)
else
shiftbits = normbits - nbits;
- me->me_modbits = normbits;
+ me->me_modbits = nbits;
me->me_shiftbits = shiftbits;
/* Sanity check: result bits must be >= true modulus bits. */