summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-12-05 22:40:42 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-12-05 22:40:42 +0000
commit530aca3e56de5296ec32f3a6840f20a6a090e84f (patch)
treeb92d6080f0b6bb5b3d3753b8a3e465a5abfe38c5 /sys/dev
parent20576cf4d675d3377b57204fd15bb04948c06215 (diff)
Treat RNGSHA1 operations the same as RNGBYPASS for callback purposes (they
produce the same size/format data).
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ubsec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c
index aab0a78f5e7..bdd9cd7c2f1 100644
--- a/sys/dev/pci/ubsec.c
+++ b/sys/dev/pci/ubsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubsec.c,v 1.120 2002/11/21 19:34:25 jason Exp $ */
+/* $OpenBSD: ubsec.c,v 1.121 2002/12/05 22:40:41 jason Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -1394,6 +1394,7 @@ ubsec_callback2(sc, q)
switch (q->q_type) {
#ifndef UBSEC_NO_RNG
+ case UBS_CTXOP_RNGSHA1:
case UBS_CTXOP_RNGBYPASS: {
struct ubsec_q2_rng *rng = (struct ubsec_q2_rng *)q;
u_int32_t *p;