diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/macros.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/krb5/macros.h b/src/include/krb5/macros.h new file mode 100644 index 000000000..c594114ff --- /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 + * <krb5/mit-copyright.h>. + * + * macros used in Kerberos code. + */ + +#include <krb5/copyright.h> + +#ifndef __KRB5_MACROS__ +#define __KRB5_MACROS__ + +#define valid_etype(etype) ((etype <= max_cryptosystem) && (etype > 0) && csarray[etype]) + +#endif /* __KRB5_MACROS__ */ |
