From 89ba19c57fc2c5e408f9d5929094cc00bc280875 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 1 Feb 1990 18:08:40 +0000 Subject: *** empty log message *** git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@228 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/macros.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/include/krb5/macros.h (limited to 'src/include') diff --git a/src/include/krb5/macros.h b/src/include/krb5/macros.h new file mode 100644 index 0000000000..c594114fff --- /dev/null +++ b/src/include/krb5/macros.h @@ -0,0 +1,21 @@ +/* + * $Source$ + * $Author$ + * $Id$ + * + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * . + * + * macros used in Kerberos code. + */ + +#include + +#ifndef __KRB5_MACROS__ +#define __KRB5_MACROS__ + +#define valid_etype(etype) ((etype <= max_cryptosystem) && (etype > 0) && csarray[etype]) + +#endif /* __KRB5_MACROS__ */ -- cgit