From 9b21c05fec7cc9e06c7c8d00dd750ee8a32cfe44 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sun, 13 Nov 2011 00:38:23 +0000 Subject: Add consistency check for plugin interface names Add an assertion to ensure that the interface_names table in plugin.c is updated when a new pluggable interface is added. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25471 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/k5-int.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/k5-int.h b/src/include/k5-int.h index b82fe5b6f9..21519b096c 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -1382,7 +1382,8 @@ struct plugin_interface { }; /* A list of plugin interface IDs. Make sure to increment - * PLUGIN_NUM_INTERFACES when a new interface is added. */ + * PLUGIN_NUM_INTERFACES when a new interface is added, and add an entry to the + * interface_names table in lib/krb5/krb/plugin.c. */ #define PLUGIN_INTERFACE_PWQUAL 0 #define PLUGIN_INTERFACE_KADM5_HOOK 1 #define PLUGIN_INTERFACE_CLPREAUTH 2 -- cgit