diff options
| author | John Kohl <jtkohl@mit.edu> | 1990-02-01 18:08:40 +0000 |
|---|---|---|
| committer | John Kohl <jtkohl@mit.edu> | 1990-02-01 18:08:40 +0000 |
| commit | 89ba19c57fc2c5e408f9d5929094cc00bc280875 (patch) | |
| tree | a0c5c7aeef3154b8dcf0355965981612ae546893 /src/include | |
| parent | e1061a7dd53241052313af216c4b4616ad9b13a7 (diff) | |
| download | krb5-89ba19c57fc2c5e408f9d5929094cc00bc280875.tar.gz krb5-89ba19c57fc2c5e408f9d5929094cc00bc280875.tar.xz krb5-89ba19c57fc2c5e408f9d5929094cc00bc280875.zip | |
*** empty log message ***
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@228 dc483132-0cff-0310-8789-dd5450dbe970
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__ */ |
