hcrypto: don't redefine key_type
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 10 Mar 2011 10:41:57 +0000 (10:41 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 10 Mar 2011 14:43:25 +0000 (06:43 -0800)
commit57bc6aee44da919a080f8f6ca1e5561f24df9f92
tree0764840d761bb053475d825ffc04bfb0f77f4d7d
parent037acc5ac01884a8ad7439f228284e07d1972d63
hcrypto: don't redefine key_type

Linux's keyring code uses "struct key_type", which is also used
internally by the hcrypto code. As, on some Linux variants,
afs/sysincludes.h ends up including the keyring definitions, we
need to rename our internal key_type definition to something
that doesn't clash.

Change-Id: Ibfb968db0db3e80d877881fc6da4b34428ee382f
Reviewed-on: http://gerrit.openafs.org/4192
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/crypto/hcrypto/kernel/config.h