From 6f548e7be721c6b5c4ea5136e03b725e5b3b3b2f Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Wed, 19 Feb 2003 03:41:32 +0000 Subject: Copy the ENTIRE table into the supported algorithms (how the hell did this work before?!) --- sys/crypto/crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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 -- cgit v1.2.3