summaryrefslogtreecommitdiff
path: root/sys/crypto
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-19 03:41:32 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-19 03:41:32 +0000
commit6f548e7be721c6b5c4ea5136e03b725e5b3b3b2f (patch)
treeffab7a2f229827016129f325158ece66348e14b3 /sys/crypto
parent81953ebe4118cd746c3214741460e6ed500fc076 (diff)
Copy the ENTIRE table into the supported algorithms (how the hell did this
work before?!)
Diffstat (limited to 'sys/crypto')
-rw-r--r--sys/crypto/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/crypto.c b/sys/crypto/crypto.c
index 817220367b1..427f2444f38 100644
--- a/sys/crypto/crypto.c
+++ b/sys/crypto/crypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crypto.c,v 1.42 2002/11/21 19:34:25 jason Exp $ */
+/* $OpenBSD: crypto.c,v 1.43 2003/02/19 03:41:31 jason Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
@@ -331,7 +331,7 @@ crypto_register(u_int32_t driverid, int *alg,
s = splimp();
- for (i = 0; i < CRYPTO_ALGORITHM_MAX; i++) {
+ for (i = 0; i < CRYPTO_ALGORITHM_ALL; i++) {
/*
* XXX Do some performance testing to determine
* placing. We probably need an auxiliary data