From ab4d33de588f110fbd46ee9de59e5638b63feeb3 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 3 Nov 1994 21:43:58 +0000 Subject: [PATCH] Add the kv5m error table git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4623 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/error_tables/ChangeLog | 6 +++ src/lib/krb5/error_tables/Makefile.in | 6 +-- src/lib/krb5/error_tables/configure.in | 1 + src/lib/krb5/error_tables/init_ets.c | 1 + src/lib/krb5/error_tables/kv5m_err.et | 63 ++++++++++++++++++++++++++ 5 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 src/lib/krb5/error_tables/kv5m_err.et diff --git a/src/lib/krb5/error_tables/ChangeLog b/src/lib/krb5/error_tables/ChangeLog index 36f0ae7f1..4b4d55460 100644 --- a/src/lib/krb5/error_tables/ChangeLog +++ b/src/lib/krb5/error_tables/ChangeLog @@ -1,3 +1,9 @@ +Thu Nov 3 16:39:49 1994 Theodore Y. Ts'o (tytso@dcl) + + * configure.in: + * Makefile.in: + * kv5m_err.et: Add the kv5m error table. + Fri Oct 14 23:07:48 1994 Theodore Y. Ts'o (tytso@dcl) * init_ets.c (krb5_init_ets): Fix typo in spelling of KRB5_USE_ISODE. diff --git a/src/lib/krb5/error_tables/Makefile.in b/src/lib/krb5/error_tables/Makefile.in index d3904349e..bbe17f18e 100644 --- a/src/lib/krb5/error_tables/Makefile.in +++ b/src/lib/krb5/error_tables/Makefile.in @@ -8,9 +8,9 @@ LDFLAGS = -g EHDRDIR=$(BUILDTOP)/include/krb5 -HDRS=$(ASN1_SRCS) kdb5_err.h krb5_err.h adm_err.h -OBJS=$(ASN1_OBJS) kdb5_err.o krb5_err.o adm_err.o init_ets.o -ETSRCS=$(ASN1_SRCS) kdb5_err.c krb5_err.c adm_err.c +HDRS=$(ASN1_SRCS) kdb5_err.h krb5_err.h kv5m_err.h adm_err.h +OBJS=$(ASN1_OBJS) kdb5_err.o krb5_err.o kv5m_err.o adm_err.o init_ets.o +ETSRCS=$(ASN1_SRCS) kdb5_err.c krb5_err.c kv5m_err.o adm_err.c SRCS=$(ETSRCS) $(srcdir)/init_ets.c all:: ${HDRS} includes ${OBJS} diff --git a/src/lib/krb5/error_tables/configure.in b/src/lib/krb5/error_tables/configure.in index 42512e334..89e9a19d2 100644 --- a/src/lib/krb5/error_tables/configure.in +++ b/src/lib/krb5/error_tables/configure.in @@ -22,6 +22,7 @@ AC_SUBST(BOGUS) SubdirLibraryRule([${OBJS}]) CopyHeader(isode_err.h,[$(EHDRDIR)]) CopyHeader(krb5_err.h,[$(EHDRDIR)]) +CopyHeader(kv5m_err.h,[$(EHDRDIR)]) CopyHeader(kdb5_err.h,[$(EHDRDIR)]) CopyHeader(adm_err.h,[$(EHDRDIR)]) CopyHeader(asn1_err.h,[$(EHDRDIR)]) diff --git a/src/lib/krb5/error_tables/init_ets.c b/src/lib/krb5/error_tables/init_ets.c index f2c0ae5d7..88d18dffb 100644 --- a/src/lib/krb5/error_tables/init_ets.c +++ b/src/lib/krb5/error_tables/init_ets.c @@ -37,6 +37,7 @@ krb5_init_ets PROTOTYPE((void)) initialized++; initialize_krb5_error_table(); + initialize_kv5m_error_table(); initialize_kdb5_error_table(); #ifdef KRB5_USE_ISODE initialize_isod_error_table(); diff --git a/src/lib/krb5/error_tables/kv5m_err.et b/src/lib/krb5/error_tables/kv5m_err.et new file mode 100644 index 000000000..50d6847ca --- /dev/null +++ b/src/lib/krb5/error_tables/kv5m_err.et @@ -0,0 +1,63 @@ +# +# src/lib/krb5/kv5m_err.et +# +# Copyright 1994 by the Massachusetts Institute of Technology. +# All Rights Reserved. +# +# Export of this software from the United States of America may +# require a specific license from the United States Government. +# It is the responsibility of any person or organization contemplating +# export to obtain such a license before exporting. +# +# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and +# distribute this software and its documentation for any purpose and +# without fee is hereby granted, provided that the above copyright +# notice appear in all copies and that both that copyright notice and +# this permission notice appear in supporting documentation, and that +# the name of M.I.T. not be used in advertising or publicity pertaining +# to distribution of the software without specific, written prior +# permission. M.I.T. makes no representations about the suitability of +# this software for any purpose. It is provided "as is" without express +# or implied warranty. +# +# +# The Kerberos v5 magic numbers errorcode table + +error_table kv5m + +error_code KV5M_NONE "Kerberos V5 magic number table" +error_code KV5M_PRINCIPAL "Bad magic number for krb5_principal structure" +error_code KV5M_DATA "Bad magic number for krb5_data structure" +error_code KV5M_KEYBLOCK "Bad magic number for krb5_keyblock structure" +error_code KV5M_CHECKSUM "Bad magic number for krb5_checksum structure" +error_code KV5M_ENCRYPT_BLOCK "Bad magic number for krb5_encrypt_block structure" +error_code KV5M_ENC_DATA "Bad magic number for krb5_enc_data structure" +error_code KV5M_CRYPTOSYSTEM_ENTRY "Bad magic number for krb5_cryptosystem_entry structure" +error_code KV5M_CS_TABLE_ENTRY "Bad magic number for krb5_cs_table_entry structure" +error_code KV5M_CHECKSUM_ENTRY "Bad magic number for krb5_checksum_entry structure" + +error_code KV5M_AUTH_DATA "Bad magic number for krb5_authdata structure" +error_code KV5M_TRANSITED "Bad magic number for krb5_transited structure" +error_code KV5M_ENC_TKT_PART "Bad magic number for krb5_enc_tkt_part structure" +error_code KV5M_TICKET "Bad magic number for krb5_ticket structure" +error_code KV5M_AUTHENTICATOR "Bad magic number for krb5_authenticator structure" +error_code KV5M_TKT_AUTHENT "Bad magic number for krb5_tkt_authent structure" +error_code KV5M_CREDS "Bad magic number for krb5_creds structure" +error_code KV5M_LAST_REQ_ENTRY "Bad magic number for krb5_last_req_entry structure" +error_code KV5M_PA_DATA "Bad magic number for krb5_pa_data structure" +error_code KV5M_KDC_REQ "Bad magic number for krb5_kdc_req structure" +error_code KV5M_ENC_KDC_REP_PART "Bad magic number for krb5_enc_kdc_rep_part structure" +error_code KV5M_KDC_REP "Bad magic number for krb5_kdc_rep structure" +error_code KV5M_ERROR "Bad magic number for krb5_error structure" +error_code KV5M_AP_REQ "Bad magic number for krb5_ap_req structure" +error_code KV5M_AP_REP "Bad magic number for krb5_ap_rep structure" +error_code KV5M_AP_REP_ENC_PART "Bad magic number for krb5_ap_rep_enc_part structure" +error_code KV5M_RESPONSE "Bad magic number for krb5_response structure" +error_code KV5M_SAFE "Bad magic number for krb5_safe structure" +error_code KV5M_PRIV "Bad magic number for krb5_priv structure" +error_code KV5M_PRIV_ENC_PART "Bad magic number for krb5_priv_enc_part structure" +error_code KV5M_CRED "Bad magic number for krb5_cred structure" +error_code KV5M_CRED_INFO "Bad magic number for krb5_cred_info structure" +error_code KV5M_CRED_ENC_PART "Bad magic number for krb5_cred_enc_part structure" +error_code KV5M_PWD_DATA "Bad magic number for krb5_pwd_data structure" +end -- 2.26.2