* prot_common.c: New file; contains functions to encode/decode
authorTom Yu <tlyu@mit.edu>
Tue, 23 Jan 2001 05:48:06 +0000 (05:48 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 23 Jan 2001 05:48:06 +0000 (05:48 +0000)
commit9f4b3a4565363936189fb99322ad7df77c03e856
tree56c6044c42e5deefe7d2a6fbb89bde68d7344173
parente1cf9ab5b10e223eca72b50635091e173f5df44e
* prot_common.c: New file; contains functions to encode/decode
string triples for principals.

* prot_kdc.c: New file; contains encoders and decoders
(eventually) for the KDC's use.

* Makefile.in (OBJS, SRCS): Add prot_common.o, prot_kdc.o.

* cr_auth_repl.c: KRB4_PUT{16,32} -> KRB4_PUT{16,32}BE.

* cr_ciph.c: Include prot.h.  KRB4_PUT32 -> KRB4_PUT32BE.

* cr_err_repl.c: KRB4_PUT32 -> KRB4_PUT32BE.

* cr_tkt.c: KRB4_PUT32 -> KRB4_PUT32BE.

* decomp_tkt.c: krb_strnlen -> krb4int_strnlen.

* g_ad_tkt.c: krb_strnlen -> krb4int_strnlen.  KRB4_PUT32 ->
KRB4_PUT32BE.  Properly skip date while parsing error.

* g_in_tkt.c: krb_strnlen -> krb4int_strnlen.  KRB4_PUT32 ->
KRB4_PUT32BE.  Properly skip date while parsing error.

* g_phost.c: Changes from audit.  Actually bail out instead of
failing silently if h->h_name is too long.

* kname_parse.c: Changes from audit.  Check overrun per character
processed.

* mk_auth.c: krb_strnlen -> krb4int_strnlen.  KRB4_PUT32 ->
KRB4_PUT32BE.  Include prot.h.

* mk_err.c: KRB4_PUT32 -> KRB4_PUT32BE.

* mk_priv.c: KRB4_PUT32 -> KRB4_PUT32BE.

* mk_req.c: KRB4_PUT32 -> KRB4_PUT32BE.

* mk_safe.c: KRB4_PUT32 -> KRB4_PUT32BE.

* rd_req.c: krb_strnlen -> krb4int_strnlen.

* strnlen.c: Rename to krb4int_strnlen.  Also include prot.h,
which is where strnlen is declared now.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12932 dc483132-0cff-0310-8789-dd5450dbe970
18 files changed:
src/lib/krb4/Makefile.in
src/lib/krb4/cr_auth_repl.c
src/lib/krb4/cr_err_repl.c
src/lib/krb4/cr_tkt.c
src/lib/krb4/decomp_tkt.c
src/lib/krb4/g_ad_tkt.c
src/lib/krb4/g_in_tkt.c
src/lib/krb4/g_phost.c
src/lib/krb4/kname_parse.c
src/lib/krb4/mk_auth.c
src/lib/krb4/mk_err.c
src/lib/krb4/mk_priv.c
src/lib/krb4/mk_req.c
src/lib/krb4/mk_safe.c
src/lib/krb4/prot_common.c [new file with mode: 0644]
src/lib/krb4/prot_kdc.c [new file with mode: 0644]
src/lib/krb4/rd_req.c
src/lib/krb4/strnlen.c