Don't build PKINIT ASN.1 support code if not building PKINIT plugin
authorKen Raeburn <raeburn@mit.edu>
Wed, 13 Aug 2008 23:32:11 +0000 (23:32 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 13 Aug 2008 23:32:11 +0000 (23:32 +0000)
commit9b04053eddd676de68cde9e5c549409aee2282b3
tree2d4e9cf6215b50905d16af2b62d4f2d163143c64
parentadc0c70f48a466f7038c24045685b9ebef572509
Don't build PKINIT ASN.1 support code if not building PKINIT plugin

If --disable-pkinit is given at configure time, don't build the PKINIT
plugin.

If the PKINIT plugin is not going to be built, define DISABLE_PKINIT.

If DISABLE_PKINIT is defined, don't build the PKINIT-related ASN.1
encoding and decoding routines, and fill their slots in the accessor
function table with null pointers.

Tweak the accessor table initialization to use conditionally-varying
macros rather than conditionally selecting between two blocks of
invocations of fixed macros.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20652 dc483132-0cff-0310-8789-dd5450dbe970
src/configure.in
src/lib/krb5/asn.1/asn1_k_decode.c
src/lib/krb5/asn.1/asn1_k_encode.c
src/lib/krb5/os/accessor.c