*** empty log message ***
authorJohn Kohl <jtkohl@mit.edu>
Thu, 1 Feb 1990 18:08:40 +0000 (18:08 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 1 Feb 1990 18:08:40 +0000 (18:08 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@228 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/macros.h [new file with mode: 0644]

diff --git a/src/include/krb5/macros.h b/src/include/krb5/macros.h
new file mode 100644 (file)
index 0000000..c594114
--- /dev/null
@@ -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__ */