diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-03-14 18:36:37 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-03-14 18:36:37 +0000 |
commit | 12df539110e72547346babfea0db8935363a5b8f (patch) | |
tree | bcc12a5e7068f23e879384e5568f690ef92bf2ef /sys/crypto | |
parent | a6a3b0e125a270989fd1a03287790a53c694c9e0 (diff) |
disable mac for now, they are not usable with current hardware; ok deraadt@
Diffstat (limited to 'sys/crypto')
-rw-r--r-- | sys/crypto/cryptodev.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/crypto/cryptodev.c b/sys/crypto/cryptodev.c index 38307d4c606..ada94da8b02 100644 --- a/sys/crypto/cryptodev.c +++ b/sys/crypto/cryptodev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptodev.c,v 1.60 2003/09/23 16:51:12 millert Exp $ */ +/* $OpenBSD: cryptodev.c,v 1.61 2004/03/14 18:36:36 markus Exp $ */ /* * Copyright (c) 2001 Theo de Raadt @@ -186,6 +186,7 @@ cryptof_ioctl(struct file *fp, u_long cmd, caddr_t data, struct proc *p) switch (sop->mac) { case 0: break; +#if 0 case CRYPTO_MD5_HMAC: thash = &auth_hash_hmac_md5_96; break; @@ -201,6 +202,7 @@ cryptof_ioctl(struct file *fp, u_long cmd, caddr_t data, struct proc *p) case CRYPTO_SHA1: thash = &auth_hash_sha1; break; +#endif default: return (EINVAL); } |