Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/opencrypto Remove '#ifdef notdef' around userspace ioctl...



details:   https://anonhg.NetBSD.org/src/rev/efc89e3906d2
branches:  trunk
changeset: 555376:efc89e3906d2
user:      jonathan <jonathan%NetBSD.org@localhost>
date:      Sun Nov 16 00:16:06 2003 +0000

description:
Remove '#ifdef notdef' around userspace ioctl() requests for
pure (non-HMAC) MD5 and SHA1.

diffstat:

 sys/opencrypto/cryptodev.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 420e1d2a8e95 -r efc89e3906d2 sys/opencrypto/cryptodev.c
--- a/sys/opencrypto/cryptodev.c        Sun Nov 16 00:07:13 2003 +0000
+++ b/sys/opencrypto/cryptodev.c        Sun Nov 16 00:16:06 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cryptodev.c,v 1.7 2003/08/26 15:01:38 thorpej Exp $ */
+/*     $NetBSD: cryptodev.c,v 1.8 2003/11/16 00:16:06 jonathan Exp $ */
 /*     $FreeBSD: src/sys/opencrypto/cryptodev.c,v 1.4.2.4 2003/06/03 00:09:02 sam Exp $        */
 /*     $OpenBSD: cryptodev.c,v 1.53 2002/07/10 22:21:30 mickey Exp $   */
 
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.7 2003/08/26 15:01:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.8 2003/11/16 00:16:06 jonathan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -220,14 +220,12 @@
                case CRYPTO_RIPEMD160_HMAC:
                        thash = &auth_hash_hmac_ripemd_160_96;
                        break;
-#ifdef notdef
                case CRYPTO_MD5:
                        thash = &auth_hash_md5;
                        break;
                case CRYPTO_SHA1:
                        thash = &auth_hash_sha1;
                        break;
-#endif
                case CRYPTO_NULL_HMAC:
                        thash = &auth_hash_null;
                        break;



Home | Main Index | Thread Index | Old Index