* init_ctx.c (init_common): After fetching kdc_default_options value from
[krb5.git] / src / lib / krb5 / krb / ChangeLog
1 2001-10-09  Ken Raeburn  <raeburn@mit.edu>
2
3         * init_ctx.c (init_common): After fetching kdc_default_options
4         value from krb5.conf, actually use that value.  Pointed out by
5         Emily Ratliff, <ratliff@austin.ibm.com>.
6
7         * get_in_tkt.c, in_tkt_ktb.c, in_tkt_pwd.c, in_tkt_sky.c,
8         int-proto.h, mk_req_ext.c, pr_to_salt.c, rd_req_dec.c, ser_actx.c,
9         ser_adata.c, ser_addr.c, ser_auth.c, ser_cksum.c, ser_ctx.c,
10         ser_eblk.c, ser_key.c, ser_princ.c, t_kerb.c: Make prototypes
11         unconditional.
12
13 2001-10-05  Ken Raeburn  <raeburn@mit.edu>
14
15         * init_ctx.c, preauth.c: Drop _MSDOS support.
16
17 2001-10-03  Ken Raeburn  <raeburn@mit.edu>
18
19         * appdefault.c, auth_con.c, bld_pr_ext.c, bld_princ.c, chpw.c,
20         conv_princ.c, copy_addrs.c, copy_athctr.c, copy_auth.c,
21         copy_cksum.c, copy_creds.c, copy_data.c, copy_key.c, copy_princ.c,
22         copy_tick.c, cp_key_cnt.c, decrypt_tk.c, fwd_tgt.c, get_creds.c,
23         get_in_tkt.c, gic_keytab.c, gic_opt.c, gic_pwd.c, in_tkt_ktb.c,
24         in_tkt_pwd.c, in_tkt_sky.c, init_ctx.c, kfree.c, mk_cred.c,
25         mk_error.c, mk_priv.c, mk_rep.c, mk_req.c, mk_req_ext.c,
26         mk_safe.c, parse.c, princ_comp.c, rd_cred.c, rd_error.c,
27         rd_priv.c, rd_rep.c, rd_req.c, rd_safe.c, recvauth.c, sendauth.c,
28         ser_actx.c, ser_ctx.c, serialize.c, set_realm.c, srv_rcache.c,
29         str_conv.c, unparse.c, vfy_increds.c, vic_opt.c, x-deltat.y: Don't
30         use KRB5_DLLIMP.  Don't explicitly declare pointers FAR any more.
31
32 2001-09-07  Ken Raeburn  <raeburn@mit.edu>
33
34         * t_expand.c: New file.
35         * Makefile.in (SRCS): Add test-case source files; rebuilt
36         dependencies.
37         (t_expand.o): Build from t_expand.c now, no special build rule.
38
39 2001-09-07  Ken Raeburn  <raeburn@mit.edu>
40
41         * rd_req_dec.c (krb5_rd_req_decoded_opt): Pass server realm to
42         transited-list check, not local realm, in case they're different.
43
44 2001-08-21  Ken Raeburn  <raeburn@mit.edu>
45
46         * walk_rtree.c (krb5_walk_realm_tree): Initialize slen to silence
47         compiler warning.
48
49 2001-08-08    <epeisach@mit.edu>
50
51         * walk_rtree.c (krb5_walk_realm_tree): Do not try to free const char *.
52
53         * mk_safe.c (krb5_mk_safe_basic): Do not declare local_addr and
54         remote_addr const and then cast the attribute away.
55
56         * mk_req_ext.c (krb5_generate_authenticator): Static function -
57         remove const attribute from cksum pointer.
58
59         * gc_via_tkt.c (krb5_get_cred_via_tkt): Cast unsigned integer
60         krb5_error error_value to signed before adding
61         ERROR_TABLE_BASE_krb5.
62
63 2001-07-31  Ken Raeburn  <raeburn@mit.edu>
64
65         * chk_trans.c (krb5_check_transited_list): Pointer args now point
66         to const.
67
68 2001-07-31  Ezra Peisach  <epeisach@mit.edu>
69
70         * get_in_tkt.c: Cast to unsigned krb5_error error value to 
71         krb5_error_code before trying to add to ERROR_TABLE_BASE_krb5. 
72
73 2001-07-30  Ezra Peisach  <epeisach@mit.edu>
74
75         * sendauth.c (krb5_sendauth): Instead of casting second argument
76         to getpeername() and getsockname() to "struct sockaddr *", cast to
77         system specific type as determined by autoconf. 
78
79 2001-07-24  Ezra Peisach  <epeisach@mit.edu>
80
81         * in_tkt_sky.c (krb5_get_in_tkt_with_skey): Change cast from
82         krb5_pointer to krb5_const_pointer to ensure const integrity of
83         parameter.
84
85         * in_tkt_ktb.c (keytab_keyproc): Add const argument to cast of
86         keyseed to struct keytab_keyproc_arg to maintain const status.
87
88         * conv_princ.c (krb5_524_conv_principal): Cast argument to memcpy
89         to size_t.
90
91 2001-07-06  Ezra Peisach  <epeisach@mit.edu>
92
93         * conv_princ.c (krb5_425_conv_principal): Cast argument to tolower
94         to int.
95
96         * get_in_tkt.c: Include os-proto.h for _krb5_conf_boolean prototype.
97
98         * Makefile.in (LOCALINCLUDES): Add -I$(srcdir)/../os so os-proto.h
99         can be included.
100
101 2001-06-29  Tom Yu  <tlyu@mit.edu>
102
103         * init_ctx.c (get_profile_etype_list): Fix etype-counting loop so
104         that trailing separator characters (as in the DEFAULT_ETYPE_LIST)
105         don't cause another iteration, which was causing the following
106         loop to fall off the end of the string due to count being one too
107         great.
108
109 2001-06-28  Ezra Peisach  <epeisach@mit.edu>
110
111         * chk_trans.c (foreach_realm): Cleanup loal variable set but never
112         used.
113
114 2001-06-21  Ezra Peisach  <epeisach@mit.edu>
115
116         * chk_trans.c: Cast length arguments of %.*s in formats to int.
117
118 2001-06-20  Ezra Peisach  <epeisach@mit.edu>
119
120         * Makefile.in (check-unix): Add $(RUN_SETUP) before invocation of
121         transit-tests for shared library environment variables.
122
123 2001-06-19  Ken Raeburn  <raeburn@mit.edu>
124
125         * chk_trans.c: Reimplemented from scratch.
126         * transit-tests: New file.
127         * Makefile.in (t_expand, t_expand.o): New targets.  Build test
128         program from chk_trans.c.
129         (T_EXPAND_OBJS): New variable.
130         (TEST_PROGS): Add t_expand.
131         (check-unix): Run transit-tests.
132         * t_krb5.conf: Added capaths section.
133
134 2001-06-16  Ken Raeburn  <raeburn@mit.edu>
135
136         * fwd_tgt.c (krb5_fwd_tgt_creds): Copy enctype for new creds from
137         tgt.
138
139 2001-06-12  Ezra Peisach  <epeisach@mit.edu>
140
141         * Makefile.in (t_walk_rtree, t_kerb): Do not link against kdb libraries
142         for these test executables. 
143
144         * srv_rcache.c (krb5_get_server_rcache): Cast argument to
145         isgraph() to int.
146
147         * init_ctx.c: Cast arguments to isspace() to int. If unix is defined, 
148         include ../krb5_libinit.h. There has to be a better was for windows.
149
150         * conv_princ.c (krb5_425_conv_principal): Cast argument to isupper().
151         to int.
152
153 2001-06-11  Ezra Peisach  <epeisach@mit.edu>
154
155         * str_conv.c: If strptime() is present on system without a
156         prototype, provide one.
157
158 2001-06-07  Ezra Peisach  <epeisach@mit.edu>
159
160         * vfy_increds.c (krb5_verify_init_creds): Get rid of a variable
161         that was set in a conditional and never used afterwards.
162
163 2001-06-01  Ken Raeburn  <raeburn@mit.edu>
164
165         * init_ctx.c (get_profile_etype_list): Zero out multiple separator
166         characters between tokens, so the second can be recognized
167         properly.
168
169 2001-04-04  Tom Yu  <tlyu@mit.edu>
170
171         * mk_safe.c (krb5_mk_safe): Only use safe_cksumtype from the
172         auth_context (derived from the config file or hardcoded default)
173         if it's suitable for the enctype of the key we're going to
174         use. [pullup from krb5-1-2-2-branch]
175
176 2001-03-28  Ken Raeburn  <raeburn@mit.edu>
177
178         * init_ctx.c (DEFAULT_ETYPE_LIST): New macro.  Old etype list,
179         plus des-md4, with des-crc before des-mdX for now.
180         (get_profile_etype_list): Use DEFAULT_ETYPE_LIST.
181
182 2001-03-10  Ezra Peisach  <epeisach@mit.edu>
183
184         * init_ctx.c: Provide a full prototype for init_common().
185
186         * recvauth.c (recvauth_common): Declare recvauth_common as static. 
187
188         * parse.c, sendauth.c: Changes to prevent shadowing of local
189         variables.
190
191         * get_in_tkt.c, tgtname.c: Include int-proto.h for prototypes.
192
193 2001-03-03  Ken Raeburn  <raeburn@mit.edu>
194
195         * preauth2.c (pa_sam): Return an error if no prompter was
196         provided.
197
198 2001-02-15  Ezra Peisach  <epeisach@mit.edu>
199
200         * t_deltat.c (main): Test of overflow and underflow of krb5_int32. 
201
202         * x-deltat.y: Test for over/underflow of krb5_int32 for a
203         krb5_deltat. Return EINVAL. [krb5-libs/922]
204
205         * deltat.c: Regenerated from x-deltat.y
206
207         * str_conv.c (krb5_string_to_timestamp): Do not accept a time
208         format that only partially matches the input string. [krb5-lib/922]
209
210 2001-01-30  Tom Yu  <tlyu@mit.edu>
211
212         * preauth.c (krb5_obtain_padata): Don't dereference a NULL pointer
213         if we receive an empty ETYPE_INFO preauth. [krb5-libs/903 from
214         craziboy77@hotmail.com]
215
216         * preauth2.c (krb5_do_preauth): Don't dereference a NULL pointer
217         if we receive an empty ETYPE_INFO preauth. [krb5-libs/903 from
218         craziboy77@hotmail.com]
219
220 2001-01-30  Ezra Peisach  <epeisach@mit.edu>
221
222         * rd_req_dec.c (krb5_rd_req_decrypt_tkt_part): Free
223         krb5_keytab_entry if call to krb5_decrypt_tkt_part()
224         fails. [krb5-libs/855 reported by guy@packeteer.com]
225
226 2001-01-19  Ken Raeburn  <raeburn@mit.edu>
227
228         * preauth.c: Don't use PROTOTYPE macro, just always use the
229         prototypes.
230
231 2001-01-19  Tom Yu  <tlyu@mit.edu>
232
233         * preauth.c: Remove uses of KRB5_NPROTOTYPE() macro.
234
235 2000-10-26  Ezra Peisach  <epeisach@mit.edu>
236
237         * t_ser.c: Cast getpid() calls to int as arguments to sprintf.
238
239         * ser_actx.c: Move prototypes (listed below) to int-proto.h
240
241         * int-proto.h: Add prototypes for krb5_ser_authdata_init,
242         krb5_ser_address_init, krb5_ser_authenticator_init,
243         krb5_ser_checksum_init, krb5_ser_keyblock_init,
244         krb5_ser_principal_init.
245         
246         * ser_adata.c, ser_addr.c, ser_auth.c, ser_cksum.c, ser_key.c,
247         ser_princ.c: Include int-proto.h for prototypes.
248
249 2000-10-17  Ezra Peisach  <epeisach@mit.edu>
250
251         * bld_pr_ext.c, bld_princ.c (krb5_build_principal_ext,
252         krb5_build_principal_va, krb5_build_principal): Take an unsigned
253         int realm length.
254
255         * get_in_tkt.c (krb5_get_init_creds): Use SALT_TYPE_AFS_LENGTH
256         instead of -1.
257
258         * gic_pwd.c (krb5_get_as_key_password): Use SALT_TYPE_AFS_LENGTH
259         instead of -1.
260
261         * in_tkt_pwd.c (pwd_keyproc): Argument to krb5_read_password is
262         unsigned int.
263
264         * pr_to_salt.c (krb5_principal2salt_internal): Declare as
265         static. Unsigned int fix.
266
267         * preauth.c (krb5_obtain_padata): Use SALT_TYPE_AFS_LENGTH instead
268         of -1.
269
270         * preauth2.c (pa_salt): Use SALT_TYPE_AFS_LENGTH instead of -1. 
271
272         * conv_princ.c, copy_auth.c, copy_princ.c, gc_frm_kdc.c, parse.c,
273         send_tgs.c, srv_rcache.c: Unsigned/signed int cleanup.
274
275         * unparse.c (krb5_unparse_name_ext): size parameter changed to
276         unsigned int *.
277
278 2000-10-04  Ezra Peisach  <epeisach@mit.edu>
279
280         * rd_req_dec.c (krb5_rd_req_decrypt_tkt_part): Fix memory leak if
281         krb5_decrypt_tkt_part() fails. [krb5-libs/855]
282
283 2000-10-03  Ezra Peisach  <epeisach@mit.edu>
284
285         * srv_rcache.c (krb5_get_server_rcache): Signed vs unsigned int
286         warning fix.
287
288         * pr_to_salt.c (krb5_principal2salt_internal): Add prototype for
289         internal function, and declare static.
290
291         * copy_addrs.c (krb5_copy_addresses): Cleanup unsigned vs signed
292         warnings as arguments to malloc().
293
294 Tue Sep 26 13:00:54 2000  Ezra Peisach  <epeisach@mit.edu>
295
296         * conv_princ.c (krb5_425_conv_principal): Call profile_free_list
297         on v4realms during the iteration loop. Do not call
298         profile_release_string with a NULL pointer.
299
300 2000-09-25  Ezra Peisach  <epeisach@mit.edu>
301
302         * t_kerb.c: Add prototypes for test functions.
303
304 2000-08-29  Ken Raeburn  <raeburn@mit.edu>
305
306         * get_creds.c (krb5_get_credentials_core): If the supplied enctype
307         is not supported, return an error; can't satisfy both
308         TC_SUPPORTED_KTYPES and TC_MATCH_KTYPE that way.  Delete unused
309         arguments CCACHE and OUT_CREDS; fix callers.
310
311 2000-07-18  Ezra Peisach  <epeisach@mit.edu>
312
313         * vfy_increds.c: include int-proto.h for krb5_libdefault_boolean
314         prototype.
315
316         * t_ser.c (ser_eblock_test): ifdef out old eblock serialization
317         test which is no longer called. (see 1999-09-01 ChangeLog)
318
319         * t_kerb.c: Cast argument to fprintf to long to agree with format
320         string.
321
322         * t_deltat.c: If MIN is defined, undef before redefined as 60.
323
324         * str_conv.c: Provide strptime prototype if the system header
325         files fail to provide a prototype.
326
327         * int-proto.h:  Add prototype for krb5_libdefault_boolean()
328
329 2000-06-30  Tom Yu  <tlyu@mit.edu>
330
331         * conv_princ.c (krb5_425_conv_principal): NULL, not nil.
332
333 2000-06-30  Miro Jurisic  <meeroh@mit.edu>
334
335         * conv_princ.c (krb5_425_conv_principal): Fixed a memory leak
336
337 2000-06-29  Ezra Peisach  <epeisach@engrailed.mit.edu>
338
339         * t_walk_rtree.c (main): Declare as returning int.
340
341         * get_in_tkt.c (_krb5_conf_boolean): Declare as taking a const char *
342
343         * str_conv.c (krb5_timestamp_to_string): Work around gcc's warning
344         that %c format in strftime might return only two digits for the
345         year.
346
347         * mk_safe.c, rd_rep.c, send_tgs.c: Remove unused goto label.
348
349         * kdc_rep_dc.c (krb5_kdc_rep_decrypt_proc): Remove code with no
350         effect.
351
352         * init_ctx.c: Make krb5_brand[] look used.
353
354         * chpw.c, decode_kdc.c, decrypt_tk.c, enc_helper.c, get_creds.c,
355         get_in_tkt.c, gic_keytab.c, gic_pwd.c, preauth2.c, vfy_increds.c:
356         Add parentheses around assignment used as truth value
357
358 2000-06-28  Ezra Peisach  <epeisach@mit.edu>
359
360         * conv_princ.c, get_creds.c, get_in_tkt.c, mk_rep.c, parse.c,
361         send_tgs.c: Remove unused variable.
362
363 2000-06-23  Miro Jurisic  <meeroh@mit.edu>
364
365         * conv_princ.c (krb5_425_conv_principal): Fixed v4->v5 realm
366         name conversion
367
368         * conv_princ.c (krb5_425_conv_principal): Honor v4/v5 realm name
369         differences when convertion from v4 principals to v5.
370
371 2000-06-23  Tom Yu  <tlyu@mit.edu>
372
373         * get_creds.c (krb5_get_credentials): Translate KRB5_CC_NOTFOUND
374         returned from krb5_get_cred_from_kdc() if a prior call to
375         krb5_cc_retrieve_cred() returned KRB5_CC_NOT_KTYPE.
376
377         * rd_priv.c (krb5_rd_priv_basic): Delete code that was incorrectly
378         doing explicit ivec chaining; c_decrypt() does it now.
379
380         * mk_priv.c (krb5_mk_priv_basic): Delete code that was incorrectly
381         doing explicit ivec chaining; c_encrypt() does it now.
382
383         * conv_princ.c (krb5_524_conv_principal): Make a copy of the krb5
384         realm that is nul-terminated to avoid falling off the end of the
385         krb5 realm, which is not necessarily nul-terminated.
386
387 2000-06-23  Danilo Almeida  <dalmeida@mit.edu>
388
389         * init_ctx.c (krb5_get_tgs_ktypes, krb5_free_ktypes): Fix linkage to
390         be KRB5_CALLCONV.
391
392 2000-06-23  Ken Raeburn  <raeburn@mit.edu>
393
394         * get_in_tkt.c (krb5_get_in_tkt): If enctypes are specified, send
395         the server the intersection of that list and the supported types,
396         in the order requested.
397
398         * recvauth.c (krb5_recvauth_version): New routine, takes a
399         krb5_data in which to store the client's application version
400         string.
401         (recvauth_common): Renamed from krb5_recvauth, added above
402         functionality depending on extra argument values.
403         (krb5_recvauth): New stub, calls above routine with extra dummy
404         values.
405
406         * kfree.c: Remove unneeded "return" statements at the end of many
407         functions.
408         (krb5_free_*_content, krb5_free_*_contents,
409         krb5_free_cred_enc_part, krb5_free_pwd_sequences): Set freed
410         pointer members to null when containing structure isn't being
411         freed.
412
413         * t_kerb.c (test_524_conv_principal): New test code, to exercise
414         bbense's code addition.
415         (main, usage): Updated.
416         * t_krb5.conf: Added stanford.edu->IR.STANFORD.EDU mapping, and a
417         test case for improperly long v4 realm names.
418         * Makefile.in (check-unix): Run 524 conversion test for some test
419         Athena and Stanford names.
420         * t_ref_kerb.out: Updated.
421
422         * init_ctx.c (init_common): Feed current-microsecond time and
423         process-id into PRNG, instead of just current-second time.
424         * mk_req_ext.c (krb5_mk_req_extended): Feed current time into
425         PRNG if a subkey will be generated.
426         * sendauth.c (krb5_sendauth): Feed local and remote addresses of
427         socket, if they can be determined, into the PRNG if a subkey will
428         be used.
429
430         * init_ctx.c (krb5_free_ktypes): New routine, to free values
431         returned by krb5_get_tgs_ktypes, krb5_get_permitted_enctypes, and
432         krb5_get_default_in_tkt_ktypes.
433         (krb5_set_default_tgs_ktypes, krb5_is_permitted_enctype): Use it.
434         (get_profile_etype_list): Use passed-in enctype list if the
435         passed-in count is non-zero, instead of checking the
436         in_tkt_ktype_count value in the context.
437
438 2000-06-23  Ken Raeburn  <raeburn@mit.edu>
439             Nalin Dahyabhai  <nalin@redhat.com>
440
441         * conv_princ.c (krb5_524_conv_principal): Return an error if name
442         is too long.  Use memcpy for character data since we already know
443         the length.
444
445 2000-06-23  Nalin Dahyabhai  <nalin@redhat.com>
446
447         * kfree.c (krb5_free_keyblock_contents): Set contents pointer to
448         null after freeing.
449
450         * chk_trans.c (krb5_check_transited_list): Don't overflow buffers
451         "prev" and "next".
452         * conv_princ.c (krb5_425_conv_principal): Don't overflow buffer
453         "buf".
454
455 2000-06-23  Ken Raeburn  <raeburn@mit.edu>
456             Booker C. Bense  <bbense@networking.stanford.edu>
457
458         * conv_princ.c (krb5_524_conv_principal): Look up v4_realm in
459         config file, in case site's krb4 realm name isn't the same as the
460         krb5 realm name.
461
462 2000-05-31  Wilfredo Sanchez  <tritan@mit.edu>
463
464         * fwd_tgt.c: Check for existance of <memory.h>.
465         [from Nathan Neulinger <nneul@umr.edu>]
466
467 2000-5-19       Alexandra Ellwood <lxs@mit.edu>
468
469         * sendauth.c, fwd_tgt.c: Changed to use krb5int_cc_default.  This function 
470         supports the Kerberos Login Library and pops up a dialog if the cache does 
471         not contain valid tickets.  This is used to automatically get a tgt before
472         obtaining service tickets.  Note that this should be an internal function
473         because callers don't expect krb5_cc_default to pop up a dialog!
474         (We found this out the hard way :-)
475
476 2000-05-15      Jeffrey Altman          <jaltman@columbia.edu>
477
478         * Added new source file appdefault.c
479           Implements new public functions
480
481                krb5_appdefault_string
482                krb5_appdefault_boolean
483
484 2000-04-28      Alexandra Ellwood       <lxs@mit.edu>
485
486         * gic_pwd.c (krb5_init_creds_password) added code to return to
487         login library if the password is expired (login library handles
488         this error appropriately).
489
490 2000-04-08  Tom Yu  <tlyu@mit.edu>
491
492         * vfy_increds.c (krb5_verify_init_creds): appdefault_boolean ->
493         libdefault_boolean; it somehow got missed earlier.
494
495 2000-04-07  Jeffrey Altman  <jaltman@columbia.edu>
496
497         * gic_pwd.c (krb5_get_init_creds_keytab), gic_pwd.c
498         (krb5_get_init_creds_password) when determining whether or not to
499         retry with a "master kdc" do not retry if the return value from
500         the first attempt was KRB5_REALM_CANT_RESOLV.  Also, do not
501         overwrite the return code if the return value from the access to
502         the "master kdc" was KRB5_REALM_CANT_RESOLV.
503
504 2000-03-15  Danilo Almeida  <dalmeida@mit.edu>
505
506         * init_ctx.c (init_common), gic_pwd.c (krb5_get_as_key_password,
507         krb5_get_init_creds_password), preauth2.c (pa_sam): Add support
508         for krb5_get_prompt_types().
509
510 2000-03-13  Ken Raeburn  <raeburn@mit.edu>
511
512         * preauth2.c (pa_function): Called function now takes new
513         krb5_enctype pointer argument.
514         (pa_salt, pa_sam): Accept new arg, ignore it.
515         (pa_enc_timestamp): Accept new arg.  If value pointed to is
516         nonzero, pass it to get-AS-key fn instead of first requested
517         enctype.  Added some debugging fprintf calls, conditionally
518         compiled.
519         (krb5_do_preauth): Accept new arg, and pass it through to the
520         specific preauth functions.  Added some debugging fprintf calls,
521         conditionally compiled.
522
523         * get_in_tkt.c (krb5_get_init_creds): Pass etype pointer to
524         krb5_do_preauth.
525
526 2000-03-12  Ezra Peisach  <epeisach@mit.edu>
527
528         * addr_comp.c, addr_order.c, addr_srch.c, bld_pr_ext.c,
529         bld_princ.c, encrypt_tk.c, gen_seqnum.c, gen_subkey.c: Change
530         prototypes to use krb5_const instead of const to match the entries
531         in krb5.hin
532
533 2000-03-10  Miro Jurisic  <meeroh@mit.edu>
534
535         * get_in_tkt.c (krb5_get_init_creds): Always initialize local_as_reply
536         to avoid returning garbage on error returns.
537
538 2000-02-25  Ken Raeburn  <raeburn@mit.edu>
539
540         * preauth2.c (krb5_do_preauth): Check paorder[h] not h for
541         PA_REAL.  Fix from Matt Crawford.
542
543 2000-02-16  Ken Raeburn  <raeburn@mit.edu>
544
545         * preauth2.c (pa_sam): In send-encrypted-sad mode, check for magic
546         salt length and generate a salt from the principal name if found;
547         use the password and salt to generate a key.  Provide timestamp if
548         nonce is zero, regardless of preauth mode.  (Patch from Chas
549         Williams.)
550
551 2000-02-07  Ken Raeburn  <raeburn@mit.edu>
552
553         * gic_pwd.c (krb5_get_as_key_password): If the as_key enctype is
554         already set to the correct type, do continue and ask for the
555         password anyways.  (Patch from Chas Williams, PR krb5-libs/730.)
556
557         * preauth2.c (pa_sam): If no sam_flags were set, return
558         KRB5_PREAUTH_BAD_TYPE, because we don't currently handle that
559         case.
560
561 2000-02-06  Ken Raeburn  <raeburn@mit.edu>
562
563         * preauth2.c (pa_sam): Remove unused variable use_sam_key.
564         (SAMDATA): Cast first result to int, which is what sprintf needs.
565         (pa_salt): Delete unused variable ret.
566
567         Patches from Frank Cusack:
568         * kfree.c (krb5_free_predicted_sam_response_contents): Fix typo.
569         Free new data fields if needed.
570         (krb5_free_enc_sam_response_enc_contents): Update for field name
571         change.
572         * preauth.c (obtain_sam_padata): Update for field name change.
573         * preauth2.c (pa_sam): Likewise.
574
575 2000-01-27  Ken Raeburn  <raeburn@mit.edu>
576
577         * init_ctx.c (get_profile_etype_list): Discard DESONLY changes
578         from 1999-09-01, and revert call sites.
579
580 1999-12-02  Ken Raeburn  <raeburn@mit.edu>
581
582         * init_ctx.c (get_profile_etype_list): Report an error if no
583         recognized enctypes are found in the config file.
584
585 1999-11-23  Ken Raeburn  <raeburn@mit.edu>
586
587         * init_ctx.c (init_common): Renamed from krb5_init_context, now
588         static.  New argument SECURE provides initialization of
589         profile_secure field.
590         (krb5_init_context): Call it.
591         (krb5_init_secure_context): New function.
592
593         * in_tkt_ktb.c (keytab_keyproc): Now static.
594         * in_tkt_pwd.c (pwd_keyproc): Now static.
595         * in_tkt_sky.c (skey_keyproc): Now static.
596
597         * preauth2.c (krb5_do_preauth): Fix syntax in switch statement.
598         Cast padata contents pointer to avoid warning.
599         (pa_types): Now static.
600
601         * str_conv.c (krb5_deltat_to_string): Always write to a local
602         temporary buffer that's guaranteed to be large enough, then see if
603         the supplied output buffer is big enough.
604         (krb5_string_to_deltat): Deleted.
605         * x-deltat.y, deltat.c: New files.
606         * Makefile.in (deltat.c): Add rule for building from x-deltat.y,
607         but comment out dependencies for easier maintenance.
608         (BISON, BISONFLAGS): New variables.
609
610         * str_conv.c: Removed most static char arrays, substituting the
611         values in place.
612         (krb5_string_to_timestamp): Move atime_format_table inside here.
613         (krb5_timestamp_to_sfstring): Move sftime_format_table inside
614         here.
615
616         * str_conv.c: If strftime or strptime are not available, include
617         the renamed NetBSD versions, and define the function names as
618         macros to map them to the replacement names.
619         (__P, _CurrentTimeLocale, dummy_locale_info, TM_YEAR_BASE,
620         DAYSPERLYEAR, DAYSPERNYEAR, DAYSPERWEEK, isleap, tzname, tzset):
621         Define some dummies for strftime/strptime to use.
622         (strptime): Deleted old stub version.
623         (krb5_timestamp_to_string, krb5_timestamp_to_sfstring): Always
624         assume strftime is available.
625         (krb5_string_to_timestamp): Assume strptime is always available.
626         * strftime.c, strptime.c: New files, based on NetBSD versions.
627         Modified to rename the functions and not export any symbols.
628
629         * Makefile.in (T_DELTAT_OBJS): New variable.
630         (TEST_PROGS): Add t_deltat.
631         (t_deltat): Add rule.
632         (clean): Added t_deltat stuff.  Run rm only once.
633         * t_deltat.c: New file.
634
635 1999-11-02  Ken Raeburn  <raeburn@mit.edu>
636
637         * t_ref_kerb.out: Fix expected zephyr/zephyr output.
638
639 1999-10-26  Wilfredo Sanchez  <tritan@mit.edu>
640
641         * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
642         LOCAL_INCLUDES such that one can override CFLAGS from the command
643         line without losing CPP search patchs and defines. Some associated
644         Makefile cleanup.
645
646 1999-10-12  Ken Raeburn  <raeburn@mit.edu>
647
648         * conv_princ.c (sconv_list): Don't do conversion for "zephyr"
649         principal.  (Noticed by Derrick Brashear.)  Delete about a dozen
650         duplicate entries.
651
652 1999-09-01  Ken Raeburn  <raeburn@mit.edu>
653
654         * init_ctx.c (get_profile_etype_list): Update name of the des3
655         entry in the default etype list.
656
657         * init_ctx.c (get_profile_etype_list): New argument DESONLY; if
658         set, ignore any ktype values other than NULL, DES_CBC_CRC, and
659         DES_CBC_MD5.
660         (krb5_get_default_in_tkt_ktypes, krb5_get_tgs_ktypes): Set it.
661         (krb5_get_permitted_enctypes): Don't set it.
662
663         * fwd_tgt.c (krb5_fwd_tgt_creds): Use KRB5_TC_SUPPORTED_KTYPES
664         when calling krb5_cc_retrieve_cred.
665         * gc_frm_kdc.c (krb5_get_cred_from_kdc_opt): Ditto.
666         * get_creds.c (krb5_get_credentials_core): Set that flag.
667         (krb5_get_credentials): Check for KRB5_CC_NOT_KTYPE error return.
668
669         * t_ser.c (main): Disable eblock serialization test, since the
670         code it tests was disabled nearly a year ago.
671
672         * str_conv.c (krb5_timestamp_to_sfstring): Don't pass extra
673         argument to sprintf.
674
675 1999-08-10      Alexandra Ellwood       <lxs@mit.edu>
676
677         * chpw.c (krb5_mk_chpw_req):
678                 Added call to free cipherpw.data.  cipherpw.data is allocated 
679                 by krb5_mk_priv and passed back.  Since cipherpw is never
680                 passed back, krb5_mk_chpw_req should free it.
681
682 1999-08-05  Danilo Almeida  <dalmeida@mit.edu>
683
684         * init_ctx.c (krb5_init_context): Document why krb5_win_ccdll_load
685         is called way early in code.  (It is because we need to have the
686         ccapi stuff loaded before trying to get the OS-specific context
687         initialization where we figure out default cache names and such.)
688
689 1999-08-05  Danilo Almeida  <dalmeida@mit.edu>
690
691         * init_ctx.c (get_profile_etype_list): Use profile_release_string
692         to free string allocated by profile_get_string.
693         (krb5_init_context): Use a real context for krb5_win_ccdll_load.
694
695         * get_in_tkt.c (krb5_appdefault_string):
696         * conv_princ.c (krb5_425_conv_principal): Use profile_free_list
697         to free values allocated by profile_get_values.
698
699 1999-08-04  Danilo Almeida  <dalmeida@mit.edu>
700
701         * get_in_tkt.c (_krb5_conf_boolean, krb5_appdefault_boolean): 
702         Rename krb5_conf_boolean to _krb5_conf_boolean to denote that
703         it is not public so that folks outside the libraries won't
704         be tempted to use it.
705
706 1999-08-03  Danilo Almeida  <dalmeida@mit.edu>
707
708         * get_creds.c (krb5_validate_or_renew_creds): Intialize out_creds
709         pointer to 0 and then check whether it is 0 before trying to 
710         dereference it, in case lower-level routine failed to assign
711         a value to it.
712
713 1999-07-22  Jeffrey Altman <jaltman@columbia.edu>
714
715         get_in_tkt.c:  rename conf_boolean to krb5_conf_boolean so that
716         it may be used in additional modules.
717
718 1999-06-28  Tom Yu  <tlyu@mit.edu>
719
720         * enc_helper.c (krb5_encrypt_helper): NULL out the pointer to the
721         ciphertext if there is an error; this prevents stuff farther up
722         from freeing freed memory.
723
724 1999-06-18  Ken Raeburn  <raeburn@mit.edu>
725
726         * init_ctx.c (krb5_free_context): Set field pointers to NULL after
727         freeing targets, in case higher-level code retains pointers into
728         the context structure.  (From Jeffrey Altman.)
729
730 Thu May 13 17:31:34 1999  Theodore Y. Ts'o  <tytso@mit.edu>
731
732         * init_ctx.c (krb5_init_context): Pass the context to
733                 kkrb5_win_ccdll_load so that it can register the FILE
734                 ccache type if using ccapi (so that the FILE ccache type
735                 will always work).
736
737 Mon May 10 15:26:00 1999  Danilo Almeida  <dalmeida@mit.edu>
738
739         * Makefile.in: Do win32 build in subdir.
740
741 1999-04-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
742
743         * kfree.c (krb5_free_sam_challenge, krb5_free_sam_challenge_contents,
744                 krb5_free_sam_response, krb5_free_sam_response_contents,
745                 krb5_free_predicted_sam_response, 
746                 krb5_free_predicted_sam_response_contents,
747                 krb5_free_enc_sam_response_enc, 
748                 krb5_free_enc_sam_response_enc_contents,
749                 krb5_free_pa_enc_ts): Added new functions.  Part of
750                 patches from [krb5-kdc/662]
751
752         * gic_pwd.c (krb5_get_init_creds_password): Add new argument to
753                 calls to the prompter function.  Part of patches from
754                 [krb5-kdc/662].
755
756         * preauth2.c (pa_enc_timestamp, pa_sam): Update calls to new
757                 prompter function.   [krb5-kdc/662].
758
759 1999-03-31  Theodore Ts'o  <tytso@rsts-11.mit.edu>
760
761         * init_ctx.c (krb5_init_context): Call krb5_win_ccdll_load() to
762                 load the krbcc32.dll under windows.
763
764 Mon Mar  8 22:39:01 1999  Tom Yu  <tlyu@mit.edu>
765
766         * sendauth.c (krb5_sendauth): Set credspout to NULL if it's
767         destined to be returned to avoid freeing it.  Also,
768         unconditionally free credspout if it's non-NULL so that if someone
769         doesn't pass in a ticket and doesn't give us a non-NULL out_creds,
770         we don't leak it. [krb5-libs/699]
771
772 1998-11-13  Theodore Ts'o  <tytso@rsts-11.mit.edu>
773
774         * Makefile.in: Set the myfulldir and mydir variables (which are
775                 relative to buildtop and thisconfigdir, respectively.)
776
777 Mon Nov  2 19:00:23 1998  Tom Yu  <tlyu@mit.edu>
778
779         * str_conv.c: Remove krb5_cksumtype_to_string after merge.
780
781 1998-10-27  Marc Horowitz  <marc@mit.edu>
782
783         * vfy_increds.c: rearrange the code a bit to make it more clear
784         that the logic is correct.
785
786         * str_conv.c: remove enctype and cksumtype string converstions.
787         They're in the crypto library now, since the information drops
788         right into the enctype table.
789
790         * ser_eblk.c: ifdef the whole file out, since it's not used
791         anywhere.  it should probably be deleted, but I'm not sure about
792         backward-compatibility issues yet.
793
794         * rd_req_dec.c: check the auth_context permit-all flag and
795         permitted_enctypes list, and reject the request if the policy
796         check fails.
797
798         * init_ctx.c: add code to initialize the prng.  It's not great,
799         but can be improved, and the prng is reseeded when new keys are
800         processed. Read permitted_enctypes from the krb5.conf file, and
801         provide accessor functions for it.  Make the various etype list
802         parsers share code as a side effect.
803
804         * get_creds.c: add krb5_get_{validat,renew}ed_creds functions,
805         which are part of the new init_creds api.  The prototypes were
806         already in, krb5.hin but there was no implementing code.
807
808         * auth_con.c, auth_con.h: add a list of permitted enctypes to the
809         auth_context for rd_req to check, and create accessor functions
810         for this list.
811
812         * Makefile.in, enc_helper.c: add enc_helper.c.  This provides a
813         wrapper around the conventional way the library encrypts and wraps
814         encoded asn.1 structures, so the code isn't repeated in a dozen
815         places.
816
817 Wed Aug 19 17:27:51 1998  Tom Yu  <tlyu@mit.edu>
818
819         * conv_princ.c: Add some additional entries to sconv_list that
820         were forgotten.
821
822 Wed Jul 15 11:46:05 1998  Ezra Peisach  <epeisach@mit.edu>
823
824         * gic_pwd.c (krb5_get_init_creds_password): Remove unused argument
825                 to sprintf().
826
827         * t_ref_kerb.out: Fix test case for zephyr principal to reflect
828                 addition to conv_princ.c
829
830 Tue Jul  7 17:06:13 1998  Theodore Y. Ts'o  <tytso@mit.edu>
831
832         * conv_princ.c: Add additional commonly seen Kerberos V4 services
833                 to the hard-coded list.
834
835 Tue Jul  7 16:59:03 1998  Tom Yu  <tlyu@mit.edu>
836
837         * chk_trans.c: Fix up previous fix; short-circuit out when
838         trans->length == 0.
839
840 Wed Jul  1 17:59:26 1998  Theodore Y. Ts'o  <tytso@mit.edu>
841
842         * chk_trans.c (krb5_check_transited_list): Fix use of an
843                 uninitialized variable; apparently the code was depending
844                 on the stack garbage being non-zero(!)
845
846 1998-05-26  Theodore Ts'o  <tytso@rsts-11.mit.edu>
847
848         * srv_rcache.c (krb5_get_server_rcache): 
849         * auth_con.c (krb5_auth_con_setrcache): Export this function in
850                 Windows DLL.
851
852 1998-05-12  Theodore Ts'o  <tytso@rsts-11.mit.edu>
853
854         * str_conv.c (krb5_timestamp_to_sfstring): Make sure the date
855                 string printed uses 4 digit years.
856
857 1998-05-08  Theodore Ts'o  <tytso@rsts-11.mit.edu>
858
859         * str_conv.c (krb5_string_to_timestamp, strptime): Fix routines to
860                 be able to properly parse Y2K dates.  
861
862         * t_kerb.c: Add ability to test krb5_string_to_timestamp
863
864 1998-05-06  Theodore Ts'o  <tytso@rsts-11.mit.edu>
865
866         * t_ser.c (main): POSIX states that getopt returns -1
867                 when it is done parsing options, not EOF.
868
869 1998-05-05  Theodore Ts'o  <tytso@rsts-11.mit.edu>
870
871         * get_in_tkt.c (krb5_get_init_creds): If
872                 libdefaults/{REALM}/noaddresses is true, then don't put
873                 any addresses in the ticket request.
874
875 Mon May  4 15:54:07 1998  Tom Yu  <tlyu@mit.edu>
876
877         * get_in_tkt.c: Add prototype for make_preauth_list.
878
879 Sat May  2 21:46:02 1998  Tom Yu  <tlyu@mit.edu>
880
881         * get_in_tkt.c (krb5_get_in_tkt): Add missing argument to call to
882         make_preauth_list to avoid stack smashing.  Pointed out by lxs.
883
884 Mon Mar 16 19:50:55 1998  Tom Yu  <tlyu@mit.edu>
885
886         * chk_trans.c (krb5_check_transited_list): Check lengths when
887         appending to next and prev.
888
889 Fri Feb 27 18:03:33 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
890
891         * Makefile.in: Changed thisconfigdir to point at the lib/krb5
892                 directory, since we've moved the configure.in tests in
893                 this directory to the toplevel lib/krb5 configure.in
894
895 Thu Feb 19 19:03:20 1998  Tom Yu  <tlyu@mit.edu>
896
897         * recvauth.c (krb5_recvauth): Add some bookkeeping flags so we
898         know how much stuff to free upon cleanup.  Fix the up cleanup
899         code.
900
901 Wed Feb 18 16:24:02 1998  Tom Yu  <tlyu@mit.edu>
902
903         * Makefile.in: Remove trailing slash from thisconfigdir.  Fix up
904         BUILDTOP for new conventions.
905
906 Fri Feb 13 15:27:35 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
907
908         * Makefile.in: Added new file kfree.c, which contained all of the
909                 functions previously in the lib/krb5/free directory.
910
911 Mon Feb  2 17:02:29 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
912
913         * Makefile.in: Define BUILDTOP and thisconfigdir in the Makefile
914
915 Thu Feb  5 23:48:34 1998  Theodore Y. Ts'o  <tytso@mit.edu>
916
917         * rd_cred.c (krb5_rd_cred): 
918         * rd_safe.c (krb5_rd_safe): 
919         * rd_priv.c (krb5_rd_priv): Use the remote_subkey first, since the
920                 mk_* routines try to use their local_subkey first.
921                 Otherwise, the wrong keys will get used if subkeys are
922                 used in both directions.
923
924 Fri Jan  2 21:21:29 1998  Tom Yu  <tlyu@mit.edu>
925
926         * preauth.c (handle_sam_labels):
927         (obtain_sam_padata): Check return of malloc. [krb5-libs/518]
928
929         * chpw.c (krb5_mk_chpw_req): Check return of malloc.
930         (krb5_rd_chpw_rep): Check return of malloc. [krb5-libs/518]
931
932 Tue Dec 16 00:08:33 1997  Tom Yu  <tlyu@mit.edu>
933
934         * mk_req_ext.c (krb5_mk_req_extended): Check enctype of session
935         key, not that of the ticket, which we really shouldn't care about.
936
937 Sun Dec  7 07:24:23 1997  Ezra Peisach  <epeisach@dumpster.rose.brandeis.edu>
938
939         * gic_pwd.c (krb5_get_init_creds_password): Change fourth argument
940         in call to prompter (which is an int) from NULL to 0.
941
942 Sat Dec  6 02:28:17 1997  Tom Yu  <tlyu@mit.edu>
943
944         * Makefile.in: Add files chpw.c, gic_*, preauth2.c, vfy_increds.c,
945         vic_opt.c.
946
947         * chpw.c: New file; implement Cygnus chpw.
948
949         * get_in_tkt.c: Implement support for Cygnus initial credentials
950         API.
951
952         * gic_keytab.c: New file; Cygnus initial creds.
953
954         * gic_opt.c: New file; Cygnus initial creds.
955
956         * gic_pwd.c: New file; Cygnus initial creds.
957
958         * preauth.c: Add more SAM support (from Cygnus).
959
960         * preauth2.c: New file; additional SAM support from Cygnus.
961
962         * send_tgs.c: Account for additional parameter to sendto_kdc.
963
964         * vfy_increds.c: New file; Cygnus initial creds.
965
966         * vic_opt.c: New file; Cygnus initial creds.
967
968 Wed Oct 22 00:29:33 1997  Theodore Y. Ts'o  <tytso@mit.edu>
969
970         * send_tgs.c (krb5_send_tgs): Don't send a zero endtime; if the
971                 requested endtime is zero, set it equal to the TGT endtime.
972
973 Mon Oct  6 12:07:19 1997  Ezra Peisach  <epeisach@kangaroo.mit.edu>
974
975         * set_realm.c (krb5_set_principal_realm): Allocate extra byte for
976                 \0 after realm.
977
978 Mon Sep  1 21:38:16 1997  Tom Yu  <tlyu@mit.edu>
979
980         * rd_cred.c (krb5_rd_cred_basic): Fix swapped args to memset.
981
982 Fri Aug 29 16:41:25 1997  Tom Yu  <tlyu@mit.edu>
983
984         * get_in_tkt.c (krb5_get_in_tkt): Move nulling out of
985         request.padata before the os_localaddr call in order to avoid
986         freeing a null pointer in the cleanup code.
987
988 Tue Aug 12 09:13:22 1997  Ezra Peisach  <epeisach@mit.edu>
989
990         * init_ctx.c (krb5_init_context): Initialize local variable ctx
991                 before calling krb5_init_ets.
992
993 Fri Aug  8 17:04:54 1997  Tom Yu  <tlyu@mit.edu>
994
995         * rd_cred.c (krb5_rd_cred_basic): Check remote_addr and
996         encpart.s_address before calling krb5_address_compare.  Fixes
997         krb5-libs/456.
998
999 Fri Jul 25 15:25:32 1997  Tom Yu  <tlyu@mit.edu>
1000
1001         * t_ser.c: Add support for changed kdb API.
1002
1003 Tue Jul 15 22:15:09 1997  Theodore Y. Ts'o  <tytso@mit.edu>
1004
1005         * serialize.c (krb5_register_serializer): Only copy over the old
1006                 table when there's an old table to copy over.  Otherwise,
1007                 BoundsChecker complains about memcpy(foo, NULL, 0).
1008
1009 Tue Mar 25 00:32:55 1997  Theodore Y. Ts'o  <tytso@mit.edu>
1010
1011         * preauth.c (obtain_sam_padata): Fix handling of the sam-timestamp
1012                 and sam-usec fields, which should always be set if the
1013                 nonce is not available, not just SAM_USE_SAD_AS_KEY is
1014                 being used.  [krb5-libs/325]
1015
1016 Mon Mar 24 12:21:38 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
1017
1018         * t_ser.c: Clean up error reporting for krb5_init_context().  Also
1019                 report errors for each subtest, so we know which subtest
1020                 failed.
1021
1022 Sat Feb 22 22:39:49 1997  Richard Basch  <basch@lehman.com>
1023
1024         * Makefile.in: Use some of the new library list build rules in
1025                 win-post.in
1026
1027 Fri Feb 21 18:38:06 1997  Sam Hartman  <hartmans@tertius.mit.edu>
1028
1029         * crypto_glue.c: Move into libcrypto as krb5_glue.c; I need to
1030         avoid libcrypto depending on libkrb5
1031
1032 Wed Feb 19 14:21:12 1997  Theodore Y. Ts'o  <tytso@mit.edu>
1033
1034         * t_kerb.c (test_set_realm): New function used to test
1035         krb5_set_principal_realm().  Called by using the new "set_realm"
1036         command to t_kerb.
1037
1038         * set_realm.c (krb5_set_principal_realm): New function which sets
1039                 the realm of a principal.
1040
1041 Thu Feb 13 14:17:00 1997  Richard Basch  <basch@lehman.com>
1042
1043         * get_in_tkt.c (krb5_get_in_tkt): Initialize as_reply; if
1044                 krb5_os_localaddr() returns an error, the cleanup
1045                 routine may try to free a garbage pointer (as_reply).
1046
1047 Wed Feb 12 20:47:30 1997  Tom Yu  <tlyu@mit.edu>
1048
1049         * fwd_tgt.c (krb5_fwd_tgt_creds): Use the client's realm rather
1050                 than the server's realm for constructing the tgs principal.
1051                 Remove TC_MATCH_SRV_NAMEONLY from call to retrieve_cred()
1052                 because we want to get an exact match.
1053
1054 Mon Feb 10 10:41:36 1997  Ezra Peisach  <epeisach@mit.edu>
1055
1056         * crypto_glue.c (krb5_calculate_checksum): Add krb5_const to
1057                 krb5_pointer of in data to match prototype.
1058
1059 Sat Feb  8 15:02:39 1997  Richard Basch  <basch@lehman.com>
1060
1061         * get_creds.c:
1062                 Export krb5_get_credentials_{renew,validate} (win32)
1063                 Removed unused variable.
1064
1065 Fri Feb  7 09:41:33 1997  Richard Basch  <basch@lehman.com>
1066
1067         * mk_cred.c (krb5_mk_ncred): Declare ncred as krb5_int32 so that
1068                 the right value is pushed onto the stack when calling
1069                 krb5_mk_ncred_basic()
1070
1071         * copy_addrs.c fwd_tgt.c mk_cred.c:
1072                 Use FAR keyword in pointer declarations.
1073
1074         * sendauth.c (krb5_sendauth): Do not free the credentials if they
1075                 are being returned to the caller [krb5-libs/357]
1076
1077 Sun Feb  2 20:57:15 1997  Richard Basch  <basch@lehman.com>
1078
1079         * serialize.c: Added FAR declarations to pointer arguments for
1080                 all functions declared as KRB5_DLLIMP.
1081
1082 Thu Jan 30 21:44:37 1997  Richard Basch  <basch@lehman.com>
1083
1084         * crypto_glue.c:
1085                 Export more crypto-layer functions:
1086                 krb5_encrypt, krb5_decrypt, krb5_eblock_enctype,
1087                 krb5_process_key, krb5_finish_key, krb5_string_to_key,
1088                 krb5_init_random_key, krb5_finish_random_key, krb5_random_key
1089
1090 Sat Feb  8 18:41:42 1997  Tom Yu  <tlyu@mit.edu>
1091
1092         * Makefile.in:
1093         * configure.in: Update to new program build procedure.
1094
1095 Thu Jan  2 17:16:18 1997  Tom Yu  <tlyu@mit.edu>
1096
1097         * Makefile.in:
1098         * configure.in: Update to new library build procedure.
1099
1100 Mon Dec 23 17:20:03 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1101
1102         * Makefile.in (SRCS): Add brand.c to the SRCS line so that the
1103                 kerbsrc.mac.tar includes brand.c
1104
1105 Sat Dec 21 01:26:11 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1106
1107         * brand.c: New file, which allows a release engineer to "brand"
1108                 the krb5 library or a binary application program
1109                 statically linked against the krb5 library.  This file is
1110                 statically included by init_ctx.c, to force it be in a
1111                 binary library or application program.
1112         
1113         * init_ctx.c (krb5_init_context): Use new call krb5_vercheck() for
1114                 Windows timebomb checking; this call returns an error
1115                 code, which is returned to the user if the timebomb should
1116                 be activated.
1117
1118 Thu Nov 21 14:55:16 EST 1996    Richard Basch   <basch@lehman.com>
1119
1120         * Makefile.in: win32 build
1121
1122         * auth_con.c bld_pr_ext.c conv_princ.c copy_addrs.c copy_athctr.c
1123         copy_auth.c copy_cksum.c copy_creds.c copy_data.c copy_key.c
1124         copy_princ.c copy_tick.c cp_key_cnt.c decrypt_tk.c fwd_tgt.c
1125         gc_via_tkt.c get_creds.c get_in_tkt.c in_tkt_ktb.c in_tkt_pwd.c
1126         in_tkt_sky.c init_ctx.c mk_cred.c mk_error.c mk_priv.c mk_rep.c
1127         mk_req.c mk_req_ext.c mk_safe.c parse.c princ_comp.c rd_cred.c
1128         rd_error.c rd_priv.c rd_rep.c rd_req.c rd_safe.c recvauth.c
1129         sendauth.c str_conv.c unparse.c valid_times.c
1130                 DLL export various functions (see lib/krb5.def for full list)
1131
1132 Thu Nov 21 13:54:01 1996  Ezra Peisach  <epeisach@mit.edu>
1133
1134         * recvauth.c (krb5_recvauth): If there is an error, and the server
1135                 argument to krb5_recvauth is NULL, create a dummy server
1136                 entry for the krb5_error structure so that krb5_mk_error
1137                 will not die with missing required fields. [krb5-libs/209]
1138
1139 Wed Nov 13 14:30:47 1996  Tom Yu  <tlyu@mit.edu>
1140
1141         * init_ctx.c: Revert previous kt_default_name changes.
1142
1143 Tue Nov 12 22:07:33 1996  Tom Yu  <tlyu@mit.edu>
1144
1145         * init_ctx.c (krb5_init_context): Oops. Initialize kt_default_name
1146         to NULL.
1147         
1148         * init_ctx.c (krb5_free_context): Free kt_default_name if it's
1149         non-NULL.
1150
1151 Sat Nov  9 14:19:28 1996  Ezra Peisach  <epeisach@mit.edu>
1152
1153         * Makefile.in (check-unix): Invoking t_ser requires that
1154                 KRB5_CONFIG points to a valid krb5.conf 
1155
1156         * t_ser.c (main): If verbose flag is set and there is an error,
1157                 display error message.
1158
1159 Wed Nov  6 14:02:21 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1160
1161         * init_ctx.c (krb5_init_context): Initialize the error tables, so
1162                 applications don't need to call krb5_init_ets().
1163
1164 Tue Nov  5 08:09:23 1996  Ezra Peisach  <epeisach@mit.edu>
1165
1166         * serialize.c (krb5_register_serializer): Do not free a NULL pointer. 
1167
1168 Thu Oct 31 13:48:14 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1169
1170         * init_ctx.c (krb5_init_context): Make it more obvious that
1171                 default ticket lifetimes is not yet supported.
1172
1173 Tue Sep 24 20:59:14 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1174
1175         * get_in_tkt.c (make_preauth_list): Correctly null-terminate the
1176                 preauth list generated by make_preauth_list.
1177
1178 Thu Sep 19 12:29:59 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1179
1180         * unparse.c (krb5_unparse_name_ext): Make unparse correctly handle
1181                 a all cases where a principal contains a nulls, backspace,
1182                 newlines, or tabs.
1183
1184         * t_kerb.c (test_parse_principal): Add test for checking
1185                 krb5_parse_principal()
1186
1187         * parse.c (krb5_parse_name): Set all of the magic field values.
1188
1189 Wed Jul 24 17:09:39 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1190
1191         * preauth.c (find_pa_system): Change type of first argument to be
1192                 krb5_preauthtype, to eliminate compiler warnings under
1193                 Windows.
1194         
1195 Wed Jul 10 20:22:41 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1196
1197         * init_ctx.c (krb5_init_context): Add a call to krb5_win_do_init()
1198                 on Win16 and Win32 machines.  This is where we do timebomb
1199                 and version server checking.
1200
1201 Sun Jul  7 15:14:43 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1202
1203         * get_creds.c: (krb5_get_credentials_val_renew_core) Combine
1204                 common internals needed from krb5_get_credentials_validate()
1205                 and used by new function krb5_get_credentials_renew()
1206
1207         * gc_frm_kdc.c (krb5_get_cred_from_kdc_renew): A wrapper that
1208                 passes KDC_OPT_RENEW to the static
1209                 krb5_get_cred_from_kdc_opt so that kinit can use it.
1210
1211
1212 Mon Jun 24 09:45:04 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
1213
1214         * bld_princ.c (krb5_build_principal_va): Change const to
1215                 krb5_const, so that it works on compilers that don't
1216                 support const.
1217
1218 Mon Jun 17 20:23:48 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1219
1220         * str_conv.c (krb5_string_to_timestamp): Ensure that all fields of
1221                 the timestamp are filled in if strptime does not fill in
1222                 unspecified fields.
1223
1224 Wed Jun 12 01:10:09 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
1225
1226         * sendauth.c (krb5_sendauth): If ECCONABORTED is not defined, try
1227                 using the Winsock equivalent (WSAECONNABORTED).
1228
1229 Mon Jun 10 21:47:21 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
1230
1231         * parse.c (krb5_parse_name): Change use of _WINDOWS to _MSDOS, and
1232                 add check for _WIN32.
1233
1234 Thu Jun  6 00:06:18 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1235
1236         * get_creds.c (krb5_get_credentials_core): A static function must
1237                 not use the INTERFACE keyword.
1238
1239 Tue May 14 18:39:22 1996  Richard Basch  <basch@lehman.com>
1240
1241         * mk_req_ext.c mk_safe.c send_tgs.c:
1242                 set the length field of the krb5_checksum structure before
1243                 calling krb5_calculate_checksum.
1244
1245         * str_conv.c: replaced sha-des3 cksum with hmac-sha.
1246
1247 Tue May 14 02:53:42 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1248
1249         * ser_ctx.c (krb5_context_size, krb5_context_externalize,
1250                 krb5_context_internalize): Add missing fields from the
1251                 serialized context: clockskew, default_kdc_req_sumtype,
1252                 default_ap_req_sumtype, default_safe_sumtype,
1253                 kdc_default_options, library_options, profile_secure,
1254                 fcc_default_format, scc_default_format.
1255
1256         * ser_actx.c (krb5_auth_context_size, krb5_auth_context_externalize,
1257                 krb5_auth_context_internalize): Serialize the two fields
1258                 req_cksumtype and safe_cksumtype, instead of the one
1259                 cksumtype field.
1260
1261         * mk_safe.c (krb_mk_safe): Use safe_cksumtype instead of cksumtype
1262                 in the auth context.
1263
1264         * mk_req_ext.c (krb5_mk_req_extended): Use req_cksumtype instead
1265                 of cksumtype in the auth context.
1266
1267         * init_ctx.c (krb5_init_context): Add support for new profile
1268                 relations libdefaults/tkt_lifetime,
1269                 libdefaults/kdc_req_checksum_type,
1270                 libdefaults/ap_req_cksumtype,
1271                 libdefaults/safe_checksumtype, and
1272                 libdefaults/kdc_default_options.
1273
1274         * auth_con.h: Remove old cksumtype element, and replace it with
1275                 req_cksumtype and safe_cksumtype.
1276
1277         * auth_con.c (krb5_auth_con_init): Initialize the req_cksumtype
1278                 and safe_cksumtype from the context's default
1279                 req_cksumtype and safe_cksumtype.
1280                 (krb5_auth_con_set_req_cksumtype,
1281                 krb5_auth_con_set_safe_cksumtype): New functions, to
1282                 replace old krb5_auth_con_setcksumtype
1283         
1284 Fri May 10 18:48:38 EDT 1996  Richard Basch  <basch@lehman.com>
1285
1286         * init_ctx.c: Removed des3-cbc-md5 default support
1287
1288 Fri May 10 02:51:17 1996  Richard Basch  <basch@lehman.com>
1289
1290         * str_conv.c: changes des3-md5 to des3-sha & added sha cksum types
1291
1292 Sun May  5 09:46:18 1996  Ezra Peisach  (epeisach@kangaroo.mit.edu)
1293
1294         * preauth.c: Add casts and const keywords as needed.
1295
1296 Fri May  3 00:15:18 1996  Mark Eichin  <eichin@cygnus.com>
1297
1298         * get_creds.c (krb5_get_credentials_core): new function. Common
1299         part of krb5_get_credentials and krb5_get_credentials_validate.
1300         Some formerly local variables are now arguments.
1301         (krb5_get_credentials): same as before, but calls _core to do some
1302         of the work.
1303         (krb5_get_credentials_validate): uses
1304         krb5_get_cred_from_kdc_validate and only stores the returned
1305         credential in the cache, instead of storing all of them.
1306
1307 Thu May  2 22:48:56 1996  Mark Eichin  <eichin@cygnus.com>
1308
1309         * gc_frm_kdc.c (krb5_get_cred_from_kdc_opt): new function. Same
1310         body as krb5_get_cred_from_kdc, but takes one new argument,
1311         kdcopts, and combines it with the other kdc options when calling
1312         krb5_get_cred_via_tkt. This is static and only called by
1313         (krb5_get_cred_from_kdc): a wrapper that provides the same
1314         function it did before, and
1315         (krb5_get_cred_from_kdc_validate): a wrapper that passes
1316         KDC_OPT_VALIDATE, so that kinit can use it.
1317         We'll probably need another one for renewing tickets as well.
1318
1319         * rd_req_dec.c (krb5_rd_req_decoded_opt): new function. Same body
1320         as krb5_rd_req_decoded, but takes one new argument,
1321         check_valid_flag, to determine whether or not to check if the
1322         "invalid flag" is set in the ticket. Also made static, so that it
1323         is only called via:
1324         (krb5_rd_req_decoded): wrapper for krb5_rd_req_decoded_opt that
1325         specifies the "invalid flag" gets checked, and
1326         (krb5_rd_req_decoded_anyflag): wrapper for krb5_rd_req_decoded_opt
1327         that specifies that the "invalid flag" doesn't get checked. (This
1328         version is only called from kdc_util.c:kdc_process_tgs_req.)
1329
1330 Wed May  1 14:30:29 1996  Richard Basch  <basch@lehman.com>
1331
1332         * srv_rcache.c (krb5_get_server_rcache): include the uid in the
1333                 default server replay cachename, for systems with geteuid.
1334
1335         * configure.in: test if the system has geteuid()
1336
1337 Wed May  1 02:26:53 1996  Mark Eichin  <eichin@cygnus.com>
1338
1339         * str_conv.c (krb5_string_to_timestamp): double check that
1340         strptime at least parsed *some* of the string, avoid degenerate
1341         cases from GNU libc strptime.
1342
1343 Tue Apr 30 18:19:01 1996  Ken Raeburn  <raeburn@cygnus.com>
1344
1345         * t_ser.c (stuff): New variable.
1346         (ser_acontext_test, ser_eblock_test, ser_cksum_test): Use it,
1347         instead of assuming it's valid to treat &FUNCTION as a data
1348         pointer.
1349
1350         * conv_princ.c (sconv_list): Now const.
1351         (krb5_*_conv_principal): Use pointer to const for it.
1352
1353         Tue Apr 23 19:39:59 1996  Mark Eichin  <eichin@cygnus.com>
1354
1355         * get_creds.c (krb5_get_credentials): this isn't the kernel, so
1356         don't return negative errno values.
1357
1358 Sat Apr 27 19:14:21 1996  Richard Basch  <basch@lehman.com>
1359
1360         * fwd_tgt.c (krb5_fwd_tgt_creds): fixed a possible null dereference.
1361
1362 Wed Apr 17 14:22:10 1996  Theodore Y. Ts'o  <tytso@mit.edu>
1363
1364         * conv_princ.c: Added ftp and ecat to the list of services which
1365                 should be converted.  This really ought to be something
1366                 that's configurable in the profile...
1367
1368 Thu Apr 11 21:30:23 1996  Theodore Y. Ts'o  <tytso@dcl>
1369
1370         * init_ctx.c (krb5_init_context): On a Macintosh, turn on
1371                 kdc_timesync and use the v4 credentials cache by default.
1372
1373         * get_in_tkt.c (stash_as_reply, verify_as_reply): Move time offset
1374                 code from stash_as_reply to verify_as_reply, and fix it so
1375                 that it actually works.
1376
1377 Wed Apr  3 16:04:36 1996  Theodore Y. Ts'o  <tytso@dcl>
1378
1379         * rd_req_dec.c (krb5_rd_req_decoded): Move code which
1380                 validated the ticket times to krb5_validate_times.
1381
1382         * valid_times.c (krb5_validate_times): New function which
1383                 determines whether or not the ticket times are valid.
1384
1385         * mk_req_ext.c (krb5_mk_req_extended): Call krb5_validate_time()
1386                 to determine whether or not the ticket in passed-in
1387                 credentials is valid.  If it isn't, return an error right
1388                 away. 
1389
1390 Wed Mar 27 17:05:47 1996  Richard Basch  <basch@lehman.com>
1391
1392         * in_tkt_ktb.c (keytab_keyproc): Do not check to see that the
1393         enctype of the key is identical; there are several equivalent
1394         DES enctypes.
1395
1396         * in_tkt_ktb.c (krb5_get_in_tkt_with_keytab): Removed the fancy
1397         logic to only request the keytypes that correspond to those in
1398         the keytab.  There were too many fencepost conditions that could
1399         get you into trouble.  Either it should be there and *fully*
1400         functional, or not in there at all.  Besides, there are too many
1401         other components in Kerberos that expect the end-service to know
1402         all its keys that this sanity check is overkill.
1403
1404 Tue Mar 26 14:45:03 1996  Richard Basch  <basch@lehman.com>
1405
1406         * conv_princ.c: added "imap" service to the conversion list as
1407         requiring domain conversion for the instance.  (imap/<host> is used
1408         by some of the new imap mail implementations)
1409
1410 Sun Mar 24 01:34:14 1996  Sam Hartman  <hartmans@tertius.mit.edu>
1411
1412         * send_tgs.c (krb5_send_tgs_basic): You want to setup the eblock
1413         used for the authenticator using the in_cred->keyblock, *not*
1414         request.ticket.enc_part.enctype.  Under a multi-enctype system,
1415         the session key may be different from the ticket key.
1416
1417 Wed Mar 20 23:00:59 1996  Theodore Y. Ts'o  <tytso@dcl>
1418
1419         * walk_rtree.c (krb5_walk_realm_tree): Fix 16bit vs. 32bit error.
1420                 (cap_code should been a krb5_error_code, not an int!)
1421
1422         * mk_cred.c (krb5_mk_ncred_basic): Fix windows lint flame.
1423
1424         * get_in_tkt.c (krb5_get_in_tkt): Fix 16bit vs. 32bit error.
1425                 (do_more should not have been an int!)
1426
1427 Tue Mar 19 13:03:26 1996  Richard Basch  <basch@lehman.com>
1428
1429         * in_tkt_ktb.c (krb5_get_in_tkt_with_keytab):
1430         Only request keytypes that correspond to those in the keytab.
1431
1432 Mon Mar 18 21:49:39 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1433
1434         * configure.in: Add KRB5_RUN_FLAGS
1435
1436         * Makefile.in: Use runtime flags.
1437
1438 Sun Mar 17 20:32:08 1996  Ezra Peisach  <epeisach@dumpster.rose.brandeis.edu>
1439
1440         * configure.in: Add USE_ANAME, USE_KRB5_LIBRARY, KRB5_LIBRARIES so
1441                 that Makefile does not have to know build tree layout.
1442
1443         * Makefile.in: Rework to be consistant with configure defines so
1444                 that configure can specify other needed libraries.
1445
1446 Sun Mar 17 02:10:19 1996  Mark W. Eichin  <eichin@cygnus.com>
1447
1448         * copy_addrs.c (krb5_copy_addr): make non-static so we can use it
1449         in mk_cred.
1450         * mk_cred.c (krb5_mk_ncred_basic): copy local_addr and remote_addr
1451         instead of just aliasing them, so we can safely free them ourselves.
1452
1453 Fri Mar 15 14:29:00 1996  Richard Basch  <basch@lehman.com>
1454
1455         * in_tkt_ktb.c: Close the keytab if we opened it, not if the
1456         caller opened it.
1457
1458 Wed Mar 13 17:31:30 1996  Ken Raeburn  <raeburn@cygnus.com>
1459
1460         * configure.in: Use AC_HEADER_STDARG.
1461
1462 Mon Mar 11 11:15:26 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1463
1464         * str_conv.c (krb5_timestamp_to_string): Handle statement not
1465                 reached warning.
1466
1467         * ser_addr.c (krb5_address_internalize): Add magic numbers
1468
1469 Thu Feb 29 11:49:38 1996  Theodore Y. Ts'o  <tytso@dcl>
1470
1471         * fwd_tgt.c (NEED_SOCKETS): Use NEED_SOCKETS instead of #including
1472                 <netdb.h>
1473
1474 Sat Feb 24 16:27:54 1996  Theodore Y. Ts'o  <tytso@dcl>
1475
1476         * gc_via_tkt.c (krb5_get_cred_via_tkt): Fix memory leak; free
1477                 enctypes after use.
1478
1479 Thu Jan 25 01:35:52 1996  Sam Hartman  <hartmans@tertius.mit.edu>
1480
1481         * rd_req_dec.c (krb5_rd_req_decrypt_tkt_part): Remove outdated
1482         comment about mapping etype to ktype.
1483
1484         * gc_via_tkt.c (krb5_get_cred_via_tkt): If the keyblock.enctype is
1485         non-null in in_cred, then request that particular key.
1486
1487 Wed Jan 24 21:48:53 1996  Sam Hartman  <hartmans@tertius.mit.edu>
1488
1489         * get_creds.c (krb5_get_credentials): Only match against enctype
1490         if it is non-null in increds.
1491
1492 Sun Jan 21 23:32:53 1996  Tom Yu  <tlyu@dragons-lair.MIT.EDU>
1493
1494         * gc_via_tkt.c (krb5_kdcrep2creds): Set is_skey so get_creds won't
1495                 break trying to match is_skey in the ccache.  This way we
1496                 won't end up with many copies of user-to-user tickets.
1497
1498 Fri Jan 19 23:16:17 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1499
1500         * mk_req.c (krb5_mk_req): krb5_get_credentials does not take
1501                 default_kdc_options. 
1502
1503         * sendauth.c (krb5_sendauth): krb5_get_credentials does not take
1504                 default_kdc_options. 
1505
1506 Wed Jan 10 21:01:36 1996  Theodore Y. Ts'o  <tytso@dcl>
1507
1508         * init_ctx.c (krb5_init_context): Added checking of profile for
1509                 DCE compatability options (ccache type, and checksum type).
1510
1511         * fwd_tgt.c (krb5_fwd_tgt_creds): Initialize addrs to 0 so that we
1512                 don't try to free stack garbage on an error.
1513
1514         * krbconfig.c, Makefile.in: Removed krbconfig.c; it contained
1515                 global variables which are no longer used.
1516
1517         * recvauth.c: Removed the global extern of
1518                 krb5_kdc_default_options, which wasn't being used anyway.
1519
1520         * mk_req.c (krb5_mk_req): Replace use of krb5_kdc_default_options
1521                 with context->kdc_default_options.
1522
1523         * gc_frm_kdc.c: Remove the global extern of krb5_kdc_req_sumtype,
1524                 which wasn't being used anymore anyway.
1525
1526         * send_tgs.c (krb5_send_tgs_basic): Remove use of the global
1527                 variable krb5_kdc_req_sumtype, and use the kdc_req_sumtype
1528                 in the context structure instead.
1529
1530         * walk_rtree.c (krb5_walk_realm_tree): Applied patch submitted by
1531                 Doug Engbert, so that the configurable authentication
1532                 patch takes into account the null entry at the end of the
1533                 list.
1534
1535 Tue Jan  9 22:04:09 1996  Theodore Y. Ts'o  <tytso@dcl>
1536
1537         * fwd_tgt.c (krb5_fwd_tgt_creds): New function which handles all
1538                 of the dirty work of forwarding TGT's.
1539
1540         * rd_cred.c (krb5_rd_cred_basic): Clean up memory allocation
1541                 discpline to remove memory leaks.
1542
1543         * mk_cred.c (krb5_mk_ncred_basic, krb5_mk_ncred, krb5_mk_1cred):
1544                 Clean up memory allocation discpline to remove memory
1545                 leaks.
1546
1547         * init_ctx.c (krb5_get_tgs_ktypes): Clean up parsing of the etype
1548                 list.  Don't overrun the string containing the etype list.
1549
1550 Wed Jan  3 21:32:59 1996  Theodore Y. Ts'o  <tytso@dcl>
1551
1552         * rd_cred.c (krb5_rd_cred_basic): When the keyblock is NULL,
1553                 assume we're being called from the gssapi code, which
1554                 doesn't have access to the sender or receive address
1555                 information, don't check the sender address, since it
1556                 won't be available.
1557
1558         * rd_cred.c (decrypt_credencdata): When calling krb5_rd_credd(),
1559                 if the keyblock is null, just copy the encoded structure
1560                 from the "ciphertext" part of the structure and decode it.
1561
1562         * mk_cred.c (encrypt_credencpart):  When calling krb5_mk_cred(), if
1563                 the keyblock is NULL, don't encrypt it; just encode it and
1564                 leave it in the ciphertext area of the structure.
1565
1566 Thu Dec 21 18:47:54 1995  Theodore Y. Ts'o  <tytso@dcl>
1567
1568         * rd_rep.c (krb5_rd_rep): Change use of
1569                 KRB5_SENDAUTH_MUTUAL_FAILED to KRB5_MUTUAL_FAILED.
1570
1571 Tue Dec 19 17:15:40 1995  Theodore Y. Ts'o  <tytso@dcl>
1572
1573         * rd_cred.c (krb5_rd_cred_basic): Missing parenthesis meant that
1574                 wrong number of bytes was being allocated.
1575
1576 Sun Dec  3 11:49:09 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1577
1578         * Makefile.in (SRCS/OBJS): Move compat_recv.c to krb5util library.
1579
1580 Fri Dec  1 17:04:43 1995  Theodore Y. Ts'o  <tytso@dcl>
1581
1582         * recvauth.c (krb5_recvauth): Initialize rcache to zero, so that
1583                 on cleanup we don't try to free stack garbage.
1584
1585 Sun Nov 26 19:31:18 1995  Tom Yu  <tlyu@dragons-lair.MIT.EDU>
1586
1587         * preauth.c: Ultrix is broken.  Prototype obtain_enc_ts_padata()
1588                 and process_pw_salt() explicitly rather than using the
1589                 typedef in k5-int.h becaus that typedef is to a function
1590                 pointer now.
1591
1592 Fri Nov 17 22:35:52 1995  Theodore Y. Ts'o  <tytso@dcl>
1593
1594         * get_in_tkt.c (decrypt_as_reply): 
1595         * preauth.c (process_pw_salt): When fetching the key to decrypting
1596                 the encrypted kdc reply, use the etype associated with the
1597                 etype reply, not the etype associated with the included
1598                 ticket. 
1599
1600         * encode_kdc.c: Remove eblock argument from krb5_encode_kdc_rep;
1601                 set the eblock type from the client_key's enctype.
1602
1603 Thu Nov 16 20:29:17 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1604
1605         * srv_rcache.c (krb5_get_server_rcache): Use krb5_rc_default_type
1606                 instead of assuming default rcache type is "dfl".
1607
1608 Mon Nov 13 14:40:05 1995    <tytso@rsts-11.mit.edu>
1609
1610         * walk_rtree.c (krb5_walk_realm_tree): Added ANL changes to
1611                 support configuration authentication paths.
1612
1613 Mon Nov 13 12:57:12 1995  Theodore Y. Ts'o  <tytso@dcl>
1614
1615         * preauth.c (krb5_process_padata): Added generalized processing
1616                 for preauth information which is returned by the KDC.
1617                 This should be general enough to support the AFS3_SALT
1618                 preauth type, the SNK4 preauth type, and the public-key
1619                 mods to Kerberos.
1620         (process_pw_salt): New function for processing the KRB5_PW_SALT
1621                 preauthentication type.
1622
1623         * get_in_tkt.c (decrypt_as_reply): Removed temporary kludge for
1624                 processing the PW_SALT preauth type; that's now done in
1625                 preauth.c
1626         (krb5_get_in_tkt): Call krb5_process_padata with new arguments so
1627                 that the preauth code can set the decryption_key if
1628                 necessary. 
1629                 
1630 Thu Nov 09 17:05:57 1995  Chris Provenzano (proven@mit.edu)
1631
1632         * in_tkt_pwd.c : Remove krb5_enctype from krb5_string_to_key() args.
1633
1634 Thu Nov  9 00:02:43 1995  Theodore Y. Ts'o  <tytso@dcl>
1635
1636         * get_in_tkt.c (krb5_get_in_tkt): Remove the etype_info argument
1637                 from the call to krb5_obtain_padata.
1638
1639         * preauth.c (krb5_obtain_padata): Use the PADATA_ETYPE_INFO
1640                 preauth, if it exists, to determine which salt type to use
1641                 when encrypting the preauthentication data.  Remove the
1642                 etype_info argument.
1643
1644 Wed Nov  8 02:50:59 1995  Theodore Y. Ts'o  <tytso@dcl>
1645
1646         * krbconfig.c: Removed the krb5_clockskew variable.
1647
1648         * srv_rcache.c (krb5_get_server_rcache): 
1649         * rd_safe.c (krb5_rd_safe): 
1650         * rd_req_dec.c (krb5_rd_req_decoded): 
1651         * rd_priv.c (krb5_rd_priv): 
1652         * rd_cred.c (krb5_rd_cred): 
1653         * gc_via_tkt.c (krb5_get_cred_via_tkt): 
1654         * get_in_tkt.c (verify_as_reply): Replace use of krb5_clockskew
1655                 with context->clockskew.
1656
1657         * encrypt_tk.c (cleanup_scratch): Changed interface to no longer
1658                 require an eblock; we can use our own and figure out the
1659                 enctype from the passed-in key.
1660
1661         * get_in_tkt.c (krb5_get_in_tkt): Added calls to
1662                 krb5_obtain_padata(). 
1663
1664         * preauth.c: Completely restructured file to support
1665                 preauthentication. 
1666                 
1667
1668 Fri Oct 27 22:15:33 1995  Theodore Y. Ts'o  <tytso@dcl>
1669
1670         * get_in_tkt.c (krb5_get_in_tkt): Extensive reworking of the
1671                 structure of this file to make it possible to support
1672                 preauthentication.
1673
1674 Mon Oct 23 17:08:59 1995  Theodore Y. Ts'o  <tytso@dcl>
1675
1676         * in_tkt_pwd.c (krb5_get_in_tkt_with_password): Fix to properly
1677                 malloc password buffer.
1678
1679 Mon Oct 23 11:09:56 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1680
1681         * rd_req_dec.c (krb5_rd_req_decoded): For heirarchal cross-realm,
1682                 set the length after initializing string.
1683
1684         * rd_req.c (krb5_rd_req): If a new auth_context is created
1685                 and then there is an error, make sure return pointer is not
1686                 looking at freed memory.
1687
1688 Fri Oct  6 22:04:42 1995  Theodore Y. Ts'o  <tytso@dcl>
1689
1690         * Makefile.in: Remove ##DOS!include of config/windows.in.
1691                 config/windows.in is now included by wconfig.
1692
1693 Fri Sep 29 00:08:53 1995  Theodore Y. Ts'o  <tytso@dcl>
1694
1695         * gc_via_tkt.c (krb5_get_cred_via_tkt): Only check the returned
1696                 starttime to make sure it matches the requested starttime
1697                 if we requested a postdated ticket.
1698
1699 Thu Sep 28 22:58:53 1995  Theodore Y. Ts'o  <tytso@dcl>
1700
1701         * conv_princ.c (krb5_425_conv_principal): Only convert instances
1702                 which don't have a '.' in them.  If they have a '.',
1703                 assume that they are fully qualified already.
1704
1705 Thu Sep 28 12:00:00 1995  John Rivlin <jrivlin@fusion.com)
1706
1707         * gc_via_tkt.c: Cleaned up corrupt ticket error testing to 
1708                 make it more debugable and I think work around a compiler
1709                 bug.
1710
1711 Mon Sep 25 16:57:59 1995  Theodore Y. Ts'o  <tytso@dcl>
1712
1713         * Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the
1714                 Makefile. 
1715
1716 Wed Sep 13 10:58:20 1995 Keith Vetter (keithv@fusion.com)
1717
1718         * get_in_t.c: removed unused variable.
1719         * rd_cred.c: removed INTERFACE keyword.
1720         * ser_auth.c: passing int32 where a size_t is wanted.
1721         * ser_ctx.c: 16/32 bit int size mismatch.
1722
1723 Sun Sep 17 23:41:19 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1724
1725         * rd_safe.c: Fix typo error.
1726
1727 Sat Sep 16 01:23:14 1995  Theodore Y. Ts'o  <tytso@dcl>
1728
1729         * sendauth.c (krb5_sendauth): Make sure the scratch credentials
1730                 structure may have possible been used be freed..
1731
1732         * rd_safe.c (krb5_rd_safe_basic): Fall through to the cleanup code
1733                 at the end, to make sure the decoded message in message is
1734                 freed.
1735
1736         * rd_req_dec.c (krb5_rd_req_decoded): Use krb5_copy_keyblock to
1737                 copy authent->subkey to auth_context->remote_subkey.
1738                 Keeping them separate avoids aliasing problems.
1739
1740         * mk_req_ext.c (krb5_generate_authenticator): Fix memory leak.
1741                 Don't bash authent->subkey with key after carefully
1742                 copying it using krb5_copy_keyblock!
1743
1744         * recvauth.c (krb5_recvauth): krb5_get_server_rcache() already
1745                 opens the rcache; doing it again merely causes a memory leak.
1746
1747 Fri Sep 15 17:20:08 1995  Theodore Y. Ts'o  <tytso@dcl>
1748
1749         * gen_subkey.c (krb5_generate_subkey): Eliminate memory leak.
1750                 krb5_init_random_key() does its own allocation of the
1751                 keyblock.
1752
1753         * gc_via_tkt.c (krb5_kdcrep2creds): Fix memory leak.
1754
1755         * srv_rcache.c (krb5_get_server_rcache): Fix memory leak.
1756
1757         * rd_safe.c (krb5_rd_safe_basic): Fix memory leak.
1758
1759 Tue Sep 12 12:40:30 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1760
1761         * t_ser.c (ser_cksum_test): Work around an optimizer bug unser
1762                 OSF/1 and gcc.
1763
1764 Sun Sep 10 12:00:00 1995        James Mattly    (mattly@fusion.com)
1765
1766         * gen_seqnum.c:  change usage of krb5_crypto_us_timeofday to krb5_timeofday
1767         * get_in_tkt.c:  change usage of  krb5_crypto_us_timeofday to krb5_timeofday
1768         * mk_priv.c: change usage of krb5_crypto_us_timeofday to krb5_timeofday
1769         * mk_req_ext.c: change usage of krb5_crypto_us_timeofday to krb5_timeofday
1770         * send_tgs.c: change usage of krb5_timeofday over to krb5_crypto_us_timeofday
1771
1772 Wed Sep 06 14:20:57 1995   Chris Provenzano (proven@mit.edu)
1773
1774         * auth_con.c, decrypt_tk.c, encode_kdc.c, encrypt_tk.c,
1775         * gc_frm_kdc.c, gen_seqnum.c, get_creds.c, get_in_tkt.c,
1776         * in_tkt_ktb.c, in_tkt_pwd.c, in_tkt_sky.c, init_ctx.c,
1777         * kdc_rep_dc.c, mk_cred.c, mk_priv.c, mk_rep.c, mk_req._ext.c,
1778         * preauth.c, rd_cred.c, rd_priv.c, rd_rep.c, rd_req_dec.c,
1779         * send_tgs.c, sendauth.c, ser_actx.c, ser_ctx.c, ser_eblk.c,
1780         * ser_key.c, t_ser.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
1781
1782 Wed Sept 6 12:00:00 EDT 1995    James Mattly    (mattly@fusion.com)
1783
1784         * get_in_tkt.c:  change usage of krb5_timeofday to krb5_crypto_us_timeofday
1785         * mk_req_ext.c: change usage of timeofday
1786         * parse.c:  disabled a usage of exit for macintosh
1787         * send_tgs.c: change usage of krb5_timeofday over to
1788                 krb5_crypto_us_timeofday
1789         * unparse.c: include <stdio.h>
1790
1791
1792 Tue Sep 05 22:10:34 1995   Chris Provenzano (proven@mit.edu)
1793
1794         * decode_kdc.c, decrypt_tk.c, encode_kdc.c, encrypt_tk.c, gc_frm_kdc.c
1795         * gc_via_tkt.c, get_in_tkt.c, in_tkt_ktb.c, in_tkt_pwd.c, in_tkt_sky.c
1796         * init_ctx.c, kdc_rep_dc.c, mk_cred.c, mk_priv.c, mk_rep.c
1797         * mk_req_ext.c, rd_cred.c, rd_priv.c, rd_rep.c, rd_req_dec.c,
1798         * send_tgs.c, ser_ctx.c, ser_eblk.c, ser_key.c, t_ser.c: 
1799                 Remove krb5_enctype references, and replace with
1800                 krb5_keytype where appropriate
1801
1802 Fri Sep  1 20:03:41 1995  Theodore Y. Ts'o  <tytso@dcl>
1803
1804         * get_in_tkt.c (krb5_get_in_tkt): If kdc_settime is enabled, then
1805                 set the time_offset fields from the returned ticket's
1806                 authtime value.
1807
1808         * init_ctx.c (krb5_init_context): Initialize new fields in
1809                 krb5_context (clockskew, kdc_req_sumtype, and
1810                 kdc_default_options).
1811
1812         * gc_via_tkt.c (krb5_get_cred_via_tkt): Perform the necessary
1813                 sanity checking on the KDC response to make sure we detect
1814                 tampering.
1815   
1816         * send_tgs.c (krb5_send_tgs): Set the expected nonce in the
1817                 response structure.
1818
1819         * krbconfig.c: Set the default checksum to use MD5
1820
1821 Fri Sep 1 11:16:43 EDT 1995     Paul Park       (pjpark@mit.edu)
1822         * ser_ctx.c - Add handling of new time offset fields in the os_context.
1823
1824
1825 Tue Aug 29 14:14:26 EDT 1995    Paul Park       (pjpark@mit.edu)
1826         * Makefile.in, .Sanitize, ser_{actx,adata,addr,auth,cksum,ctx,eblk,key,
1827                 princ}.c, serialize.c, t_ser.c - Add serialization operations
1828                 for data structures required to serialize krb5_context, krb5_
1829                 auth_context, krb5_encrypt_block and krb5_principal.
1830         * auth_con.h - Add magic number.
1831         * auth_con.c - Add static routine to copy an address and use this
1832                 instead of the other code.  Set the magic number when initing
1833                 an auth_context.  Use krb5_free_address to release an address.
1834         * init_ctx.c - Free the allocated serializers when releasing context.
1835         * rd_rep.c - Copy the keyblock from the message instead of setting
1836                 a pointer into it.
1837
1838 Thu Aug 24 18:55:50 1995  Theodore Y. Ts'o  <tytso@dcl>
1839
1840         * .Sanitize: Update file list.
1841
1842 Mon Aug  7 18:54:35 1995  Theodore Y. Ts'o  <tytso@dcl>
1843
1844         * in_tkt_ktb.c (keytab_keyproc): If there is an error looking up
1845                 the key, make sure the keytab is closed as part of the
1846                 cleanup. 
1847
1848 Fri Aug  4 22:04:08 1995  Tom Yu  <tlyu@dragons-lair.MIT.EDU>
1849
1850         * conv_princ.c: Add braces to initializer to shut up gcc -Wall
1851
1852 Fri Jul 7 16:31:06 EDT 1995     Paul Park       (pjpark@mit.edu)
1853         * Makefile.in - Find com_err in TOPLIBD.
1854         * rd_safe.c - Use checksum verifier instead of doing it manually.
1855
1856 Thu Jul  6 17:31:40 1995  Tom Yu  <tlyu@lothlorien.MIT.EDU>
1857
1858         * rd_safe.c (krb5_rd_safe_basic): Pass context to os_localaddr.
1859
1860         * rd_priv.c (krb5_rd_priv_basic): Pass context to os_localaddr.
1861
1862         * rd_cred.c (krb5_rd_cred_basic): Pass context to os_localaddr.
1863
1864         * get_in_tkt.c (krb5_get_in_tkt): Pass context to os_localaddr.
1865
1866 Wed July  5 15:52:31 1995  James Mattly  <mattly@fusion.com>
1867         * added condition for _MACINTOSH
1868
1869 Sun Jul  2 18:59:53 1995  Sam Hartman  <hartmans@tertius.mit.edu>
1870
1871         * recvauth.c (krb5_recvauth): recvauth should send an error reply
1872         if problem is not zero. Removed if that caused it to only send a
1873         reply on success.
1874
1875 Fri Jun 16 22:11:21 1995  Theodore Y. Ts'o  (tytso@dcl)
1876
1877         * get_in_tkt.c (krb5_get_in_tkt): Allow the credentials cache
1878                 argument to be optional; allow it to be NULL, meaning that
1879                 the credentials shouldn't be stored in a credentials cache.
1880
1881 Mon Jun 12 16:49:42 1995  Chris Provenzano (proven@mit.edu)
1882
1883         A couple bug reports/patches from Ed Phillips (flaregun@udel.edu)
1884         * in_tkt_ktb.c (keytab_keyproc()): Fix memory leak. 
1885         * recvauth.c (krb5_recvauth()): Don't open a new rcache if
1886                 the auth_context already has one.
1887         * auth_con.c (krb5_auth_con_free()): Close rcache is the
1888                 auth_context has one set.
1889         * auth_con.c (krb5_auth_con_getrcache()): Return pointer
1890                 to the rcache set in the auth_context.
1891
1892 Sun Jun 11 12:31:39 1995  Ezra Peisach  (epeisach@kangaroo.mit.edu)
1893
1894         * auth_con.c (krb5_auth_con_init): Zero newly allocated
1895                 krb5_auth_context. (Fixed error in redefinitions).
1896
1897 Sat Jun 10 23:05:51 1995  Tom Yu  (tlyu@dragons-lair)
1898
1899         * auth_con.c, compat_recv.c, mk_cred.c, mk_priv.c, mk_rep.c,
1900           mk_req.c, mk_req_ext.c, mk_safe.c, rd_cred.c, rd_priv.c,
1901           rd_rep.c, rd_req.c rd_req_dec.c, rd_safe.c, recvauth.c,
1902           sendauth.c: krb5_auth_context redefinitions
1903
1904 Fri Jun  9 18:48:43 1995    <tytso@rsx-11.mit.edu>
1905
1906         * rd_req_dec.c (krb5_rd_req_decoded): Fix -Wall nits
1907
1908         * configure.in: Remove standardized set of autoconf macros, which
1909                 are now handled by CONFIG_RULES.
1910
1911         * Makefile.in, faddr_ordr.c: Remove faddr_ordr.c; its function,
1912                 krb5_fulladdr_order, isn't used anywhere.
1913
1914 Fri Jun  9 02:42:54 1995  Tom Yu  (tlyu@dragons-lair)
1915
1916         * rd_cred.c (krb5_rd_cred_basic): fix typo (extra "context"
1917                 argument passed to krb5_xfree)
1918
1919 Thu Jun  8 22:48:27 1995  Theodore Y. Ts'o  <tytso@dcl>
1920
1921         * rd_cred.c (krb5_rd_cred_basic): Fix problem where the ticket
1922                 field was assigned with a krb5_data, which was then
1923                 immediately freed.
1924
1925 Thu Jun  8 16:06:44 1995    <tytso@rsx-11.mit.edu>
1926
1927         * compat_recv.c, auth_con.c, chk_trans.c, encrypt_tk.c,
1928                 gc_frm_kdc.c, gc_via_tkt.c, gen_seqnum.c, gen_subkey.c,
1929                 get_creds.c, get_in_tkt.c, in_tkt_ktb.c, in_tkt_pwd.c,
1930                 in_tkt_skey.c, init_ctx.c, kdc_rep_dc.c, mk_cred.c,
1931                 mk_error.c, mk_priv.c, mk_rep.c, mk_req.c, mk_req_ext.c,
1932                 mk_cred.c, mk_safe.c, parse.c, preauth.c, rd_cred.c,
1933                 rd_rep.c, rd_req.c, rd_req_dec.c, rd_safe.c, recvauth.c,
1934                 sendauth.c, send_tgs.c, srv_rcache.c, walk_rtree.c: Clean
1935                 up GCC -Wall flames.
1936
1937 Wed Jun  7 15:23:21 1995    <tytso@rsx-11.mit.edu>
1938
1939         * conv_princ.c (krb5_425_conv_principal): Remove old CONFIG_FILES
1940                 code. 
1941
1942 Fri May 26 10:18:28 1995 Keith Vetter (keithv@fusion.com)
1943
1944         * makefile.in: removed for the PC creating shared directory.
1945           (still bug with the '@SHARED_RULE@' line but I'm waiting
1946           on tytso for that since I don't want to break Unix).
1947
1948 Thu May 25 09:58:42 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1949
1950         * gc_via_tkt.c (krb5_kdcrep2creds): Fix syntax error in the
1951                 freeing of the keyblock.
1952
1953 Wed May 24 18:19:17 1995  Theodore Y. Ts'o  (tytso@dcl)
1954
1955         * Makefile.in, configure.in: Add rules for building shared library.
1956
1957         * gc_via_tkt.c (krb5_kdcrep2creds): On an error, free the keyblock.
1958
1959 Tue May 23 16:28:42 1995  Theodore Y. Ts'o  (tytso@dcl)
1960
1961         * gc_frm_kdc.c, preauth.c, t_kerb.c, t_walk_rtree.c, unparse.c:
1962                 Rearrange #include files so that krb5.h gets included
1963                 first, so that the debugging information can be more
1964                 efficiently collapsed since the type numbers will be the
1965                 same.
1966
1967 Sat May 20 14:01:16 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1968
1969         * rd_safe.c (krb5_rd_safe): Increment remote_seq_number if
1970                 KRB5_AUTH_CONTEXT_DO_SEQUENCE is set.
1971
1972 Thu May 11 22:42:30 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1973
1974         * rd_cred.c (krb5_rd_cred_basic): If address don't match, return
1975                 KRB5KRB_AP_ERR_BADADDR (add missing retval).
1976
1977 Thu May 11 18:30:21 1995  Chris Provenzano (proven@mit.edu)
1978
1979         * mk_cred.c (krb5_mk_cred()), mk_priv.c (krb5_mk_priv()),
1980         * mk_safe.c (krb5_mk_safe()), rd_cred.c (krb5_rd_cred()),
1981         * rd_priv.c (krb5_rd_prev()), rd_safe.c (krb5_rd_safe()):
1982                 Pass the contents pointer returned from krb5_make_fulladdr()
1983                 to free() not the address of the pointer.
1984
1985 Tue May  9 08:34:21 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
1986
1987         * Makefile.in (clean): Remove t_kerb and t_kerb.o
1988
1989 Fri May  5 00:06:24 1995  Theodore Y. Ts'o  (tytso@dcl)
1990
1991         * conv_princ.c (krb5_425_conv_principal): Use new calling
1992                 convention of krb5_get_realm_domain, which is that it
1993                 returns the realm *without* the leading dot.
1994
1995                 Also use the profile code to look up individual instance
1996                 conversions using [realms]/<realm>/v4_instance_convert/<inst>
1997                 This allows special case handling of mit.edu and
1998                 lithium.lcs.mit.edu.
1999
2000         * t_kerb.c: New file for testing krb library functions.  Currently
2001                 only tests krb5_425_conv_principal.
2002
2003 Wed May 03 03:30:51 1995  Chris Provenzano (proven@mit.edu)
2004
2005         * recvauth.c, compat_recv.c (krb5_recvauth()): 
2006         * compat_recv.c (krb5_compat_recvauth()):
2007                 No longer needs the rc_type arg.
2008
2009 Tue May 02 19:29:18 1995  Chris Provenzano (proven@mit.edu)
2010
2011         * mk_cred.c (mk_cred()), mk_priv.c (mk_priv()), mk_safe.c (mk_safe()),
2012         * rd_cred.c (rd_cred()), rd_priv.c (rd_priv()), rd_safe.c (rd_safe()):
2013                 Don't call krb5_make_fulladdrs() if a port isn't specified.
2014
2015 Mon May 01 15:56:32 1995  Chris Provenzano (proven@mit.edu)
2016
2017         * auth_con.c (krb5_auth_con_free()) :
2018                 Free all the data associated with the auth_context.
2019
2020         * auth_con.c (krb5_auth_con_setkey()) : Removed.
2021         * mk_rep.c (mk_rep()),
2022                 The krb5_mk_rep() routine must always encode the data in
2023                 the keyblock of the ticket, not the subkey.
2024
2025         * cleanup.h, auth_con.c (krb5_auth_con_setports()) : Added.
2026         * auth_con.h, mk_cred.c (mk_cred()), mk_priv.c (mk_priv()),
2027         * mk_safe.c (mk_safe()), rd_cred.c (rd_cred()), 
2028         * rd_priv.c (rd_priv()), rd_safe.c (rd_safe()) :
2029                 Changes to auth_context to better support full addresses.
2030
2031 Sat Apr 29 00:09:40 1995  Theodore Y. Ts'o  <tytso@dcl>
2032
2033         * srv_rcache.c (krb5_get_server_rcache): Fix fencepost error which
2034                 caused an access beyond the allocated memory of piece->data.
2035
2036         * rd_priv.c (krb5_rd_priv_basic): Call krb5_free_priv_enc_part to free 
2037                 the entire privenc_msg structure.
2038
2039 Fri Apr 28 09:54:51 EDT 1995    Paul Park       (pjpark@mit.edu)
2040
2041         Move adm_rw.c from libkrb5 to libkadm.
2042
2043 Fri Apr 28 08:36:03 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
2044
2045         * init_ctx.c (krb5_free_context): Extra semicolon meant the etypes
2046                 field in the context was never being freed.
2047
2048 Fri Apr 28 01:44:51 1995  Chris Provenzano  (proven@mit.edu)
2049
2050         * send_tgs.c (krb5_send_tgs()), gc_via_tkt.c (krb5_get_cred_via_tkt()):
2051                 Removed krb5_cksumtype argument.
2052
2053 Thu Apr 27 21:36:01 1995  Chris Provenzano  (proven@mit.edu)
2054
2055         * auth_con.c (krb5_auth_con_getaddrs() and krb5_auth_con_getflags()):
2056                 Added for completeness.
2057         * mk_req_ext.c (krb5_mk_req_extended()) : Don't send the 
2058                 AP_OPTS_USE_SUBKEY option over the wire.
2059
2060 Thu Apr 27 17:40:20 1995 Keith Vetter (keithv@fusion.com)
2061
2062         * adm_rw.c, mk_cred.c, rd_cred.c:
2063            malloc on the PC must be size SIZE_T not int32.
2064         * adm_rw.c: krb5_free_adm_data second argument now a krb5_int32.
2065
2066 Thu Apr 27 16:33:17 EDT 1995    Paul Park       (pjpark@mit.edu)
2067
2068         * mk_priv.c     - Back out previous change which always put in
2069                           timestamp, regardless of DO_TIME setting and
2070                           instead, clear out the replaydata before calling
2071                           mk_priv_basic from mk_priv.
2072         * mk_safe.c     - Same replaydata fix.
2073
2074 Thu Apr 26 15:59:51 EDT 1995    Paul Park       (pjpark@mit.edu)
2075
2076         * Add adm_rw.c - routines to read and write commands from/to the
2077           administrative (kpasswd/kadmin) server.
2078
2079 Wed Apr 27 11:30:00 1995 Keith Vetter (keithv@fusion.com)
2080
2081         * init_ctx.c: krb5_init_context wasn't checking return values.
2082         * mk_req.c: deleted unused local variable.
2083
2084 Wed Apr 26 22:49:18 1995  Chris Provenzano  (proven@mit.edu)
2085
2086         * gc_via_tgt.c, and gc_2tgt.c : Removed.
2087         * Makefile.in, gc_via_tkt.c, gc_frm_kdc.c, and, int-proto.h : 
2088                 Replaced get_cred_via_tgt() and get_cred_via_2tgt()
2089                 with more general function get_cred_via_tkt().
2090
2091 Tue Apr 25 21:58:23 1995  Chris Provenzano  (proven@mit.edu)
2092
2093         * Makefile.in : Added gc_via_tkt.c and removed get_fcreds.c
2094         * auth_con.c (krb5_auth_con_setaddrs()) : Fixed so it allocates 
2095                 space and copies addresses, not just pointer.
2096         * mk_cred.c: Completely rewritten from sources donated by asriniva.
2097         * rd_cred.c: Completely rewritten from sources donated by asriniva.
2098         * mk_priv.c (krb5_mk_priv()), mk_safe.c (krb5_mk_safe()), 
2099           rd_priv.c (krb5_rd_priv()), and rd_safe (krb5_rd_safe()) : 
2100                 Try using a subkey before using the session key for encryption.
2101         * recvauth.c (krb5_recvauth()): Don't close the rcache on success.
2102
2103 Mon Apr 24 23:12:21 1995  Theodore Y. Ts'o  <tytso@dcl>
2104
2105         * Makefile.in, configure.in (t_walk_rtree): Add WITH_NETLIBS and
2106                 $(LIBS), so that t_walk_rtree can compile under solaris.
2107
2108 Mon Apr 24 17:09:36 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
2109
2110         * parse.c (krb5_parse_name): Add magic number to new structure
2111
2112         * get_creds.c: Fix comments describing operation
2113
2114         * gc_frm_kdc.c: Fix comments describing operation
2115
2116         * copy_cksum.c (krb5_copy_checksum): Fix comment in file
2117
2118         * copy_addrs.c (krb5_append_addresses): ifdef out unused
2119                 krb5_append_addresses function. (no API or prototype
2120                 existed). 
2121
2122         * copy_data.c (krb5_copy_data): Initialize magic number
2123
2124         * init_ctx.c (krb5_init_context): If an error is returned from
2125                 krb5_set_default_in_tkt_etypes or krb5_os_init_context,
2126                 pass to caller instead of stack garbage.
2127
2128 Sat Apr 22 11:06:45 1995  Ezra Peisach  (epeisach@kangaroo.mit.edu)
2129
2130         * Makefile.in: t_walk_rtree needs libcrypto
2131
2132         * t_walk_rtree.c: error in checking for argument count
2133
2134 Thu Apr 20 16:23:23 1995  Theodore Y. Ts'o  (tytso@dcl)
2135
2136         * copy_addrs.c, copy_athctr.c, copy_auth.c, copy_cksum.c,
2137         copy_creds.c, copy_key.c, copy_princ.c, copy_tick.c,
2138         gc_2tgt.c, gc_frm_kdc.c, gc_via_tgt.c, get_creds.c,
2139         mk_req_ext.c: Unless HAVE_C_STRUCTURE_ASSIGNMENT is defined, use
2140                 memcpy to copy structures around, instead of using
2141                 structure assignments.  (Which aren't guaranteed to work
2142                 on some broken compilers.)
2143
2144         * mk_req.c (krb5_mk_req): Use krb5_sname_to_principal() in order
2145                 to create the service principal from the service and
2146                 hostname pair.  This allows for the host cannoncialization
2147                 to work correctly.
2148
2149         * mk_req_ext.c (krb5_mk_req_extended): Revamp checksum handling
2150                 code so that no checksum is performed in in_data is NULL,
2151                 and the special case handing of cksumtype == 0x8003 for
2152                 the GSSAPI library is handled correctly.
2153
2154 Wed Apr 19 13:39:34 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
2155
2156         * init_ctx.c: (krb5_init_context) initialize context default
2157                 realm. (krb5_free_context) free default realm.
2158
2159 Fri Apr 14 15:05:51 1995    <tytso@rsx-11.mit.edu>
2160
2161         * sendauth.c (krb5_sendauth): initialize error return parameter
2162
2163         * copy_princ.c (krb5_copy_principal): Fix bug where
2164                 krb5_copy_principal can fail if it is asked to copy a
2165                 principal with a zero-length component on a system where
2166                 malloc(0) returns null. 
2167
2168 Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com)
2169
2170         * *.[ch]: removed unneeded INTERFACE from non-api functions.
2171
2172 Fri Mar 31 16:45:47 1995 Keith Vetter (keithv@fusion.com)
2173
2174         * krb5_get_in_tkt: changed error return value for when clocks
2175            are out of skew to be KRB5_KDCREP_SKEW.
2176
2177 Fri Mar 31 00:44:26 1995  Theodore Y. Ts'o  (tytso@dcl)
2178
2179         * rd_req.c (krb5_rd_req): Fix typo which caused new_keytab to not
2180                 get freed, causing a memory leak.
2181
2182 Thu Mar 30 15:49:27 1995 Keith Vetter (keithv@fusion.com)
2183
2184         * rd_req.c: removed unused local variable.
2185
2186 Tue Mar 28 18:34:20 1995  John Gilmore  (gnu at toad.com)
2187
2188         * rd_req_sim.c:  Really remove the file.
2189
2190 Mon Mar 27 08:34:49 1995 Chris Provenzano (proven@mit.edu)
2191
2192         * Makefile.in: Removed rd_req_sim.c
2193
2194         * auth_con.c: Default cksumtype is now CKSUMTYPE_RSA_MD4_DES.
2195
2196         * auth_con.c: Added krb5_auth_con_setuseruserkey(), 
2197                 krb5_auth_con_getkey(), 
2198                 krb5_auth_con_getremotesubkey(),
2199                 krb5_auth_con_getauthenticator(), 
2200                 krb5_auth_con_getremoteseqnumber(),
2201                 krb5_auth_con_initivector().
2202
2203         * auth_con.c: Fixed krb5_auth_con_getlocalsubkey() to check for
2204                 a valid local_subkey before calling krb5_copy_keyblock().
2205
2206         * auth_con.h: Fixed some comments.
2207
2208         * mk_req_ext.c (krb5_mk_req_extended()): Always pass in a seed
2209                 (the keyblock contents) to krb5_calculate_checksum()
2210
2211         * rd_rep.c (krb5_rd_rep()): Use appropriate key to decode reply.
2212
2213         * rd_safe.c (krb5_rd_safe()): Don't pass checksum to 
2214                 krb5_rd_safe_basic(), it's unnecessary.
2215
2216         * compat_recv.c (krb5_compat_recvauth()):
2217         * mk_rep.c (krb5_mk_rep()):
2218         * rd_req.c (krb5_rd_req()):
2219         * rd_req_dec.c (krb5_rd_req_decode()):
2220         * recvauth.c (krb5_recvauth()):
2221                 Added a krb5_auth_context argument and eliminated many of 
2222                 the other arguments because they are included in the
2223                 krb5_auth_context structure.
2224
2225
2226 Tue Mar 21 19:22:51 1995 Keith Vetter (keithv@fusion.com)
2227
2228         * mk_safe.c: fixed signed/unsigned mismatch.
2229         * rd_safe.c: removed unused local variable currentime.
2230         * mk_req_e.c: fixed signed/unsigned mismatch.
2231
2232 Sat Mar 18 18:58:02 1995  John Gilmore  (gnu at toad.com)
2233
2234         * bld_pr_ext.c, bld_princ.c:  Replace STDARG_PROTOTYPES with
2235         HAVE_STDARG_H for consistency.
2236
2237 Fri Mar 17 19:48:07 1995  John Gilmore  (gnu at toad.com)
2238
2239         * Makefile.in (check-mac):  Add.
2240         * compat_recv.c, get_fcreds.c, recvauth.c:  Eliminate Unix socket
2241         #includes, which are now handled by k5-int.h (via k5-config.h).
2242         * conv_princ.c:  Rename variable "comp" to another name; "comp"
2243         apparently bothers the MPW compiler...
2244         * rd_cred.c:  Avoid (void) casts of void functions, for MPW.
2245         * t_walk_rtree.c:  Put com_err.h after k5_int for <sys/types> stuff.
2246         (main):  Declare and initialize the krb5_context that's being
2247         passed to everything.
2248
2249 Fri Mar 10 10:58:59 1995  Chris Provenzano (proven@mit.edu)
2250
2251         * auth_con.h auth_con.c Added for krb5_auth_con definition and
2252                 support routines.
2253
2254         * mk_req.c (krb5_mk_req())
2255         * mk_req_ext.c (krb5_mk_req_extended())
2256         * rd_rep.c (krb5_rd_rep())
2257         * sendauth.c (krb5_sendauth())
2258         * mk_priv.c (krb5_mk_priv())
2259         * mk_safe.c (krb5_mk_safe())
2260         * rd_priv.c (krb5_rd_priv())
2261         * rd_safe.c (krb5_rd_safe())
2262                 Added a krb5_auth_context argument and eliminated many of 
2263                 the other arguments because they are included in the
2264                 krb5_auth_context structure.
2265
2266         * send_tgs.c (krb5_send_tgs()) Eliminate call to krb5_mk_req_extended(),
2267                 which does far more than krb5_send_tgs() needs.
2268
2269 Tue Mar  7 19:57:34 1995  Mark Eichin  <eichin@cygnus.com>
2270
2271         * configure.in: take out ISODE_INCLUDE.
2272
2273 Tue Mar 7 13:20:06 1995 Keith Vetter (keithv@fusion.com)
2274
2275         * Makefile.in: changed library name on the pc.
2276         * parse.c: disabled for the PC error messages to stderr.
2277         * chk_trans.c: fixed signed/unsigned assignment.
2278
2279 Thu Mar 2 11:45:00 1995 Keith Vetter (keithv@fusion.com)
2280         
2281         * compat_recv.c, get_fcre.c, recvauth.c, sendauth.c: changed
2282            NEED_WINSOCK_H to NEED_SOCKETS.
2283
2284 Wed Mar 1 20:15:00 1995 Keith Vetter (keithv@fusion.com)
2285
2286         * compat_r.c, copy_pri.c, get_fcre.c, get_in_t.c, init_ctx.c, in_tkt_p.c
2287            in_tkt_s.c, preauth.c, princ_co.c, pr_to_sa.c, rd_req_d.c, recvauth.c
2288            sendauth.c, send_tgs.c, unparse.c: 16 vs 32 bit casts, removed some
2289            unused local variables, and pulled in winsock.h for network byte
2290            ordering.
2291
2292 Tue Feb 28 01:14:57 1995  John Gilmore  (gnu at toad.com)
2293
2294         * *.c:  Avoid <krb5/...> includes.
2295         * parse.c:  Exdent #ifndef to left margin for old compilers.
2296
2297 Wed Feb 22 17:14:31 1995 Keith Vetter (keithv@fusion.com)
2298
2299         * walk_rtr.c (krb5_walk_realm_tree): formal parameter wasn't declared.
2300         * send_tgs.c: const in wrong place in the prototype.
2301         * get_in_tkt.c, preauth.c, rd_cred.c, rd_priv.c, rd_req_dec.c, 
2302            rd_safe.c: needed a 32 bit abs() function.
2303         * parse.c: removed call to fprintf on error the windows version
2304         * send_auth.c: defined for windows the ECONNABORTED errno (will
2305            be removed when the socket layer is fully implemented).
2306
2307 Tue Feb 21 23:38:34 1995  Theodore Y. Ts'o  (tytso@dcl)
2308
2309         * mk_cred.c (krb5_mk_cred): Fix argument type to
2310                 krb5_free_cred_enc_part().
2311
2312 Mon Feb 13 20:25:20 1995  Theodore Y. Ts'o  (tytso@dcl)
2313
2314         * get_in_tkt.c (krb5_get_in_tkt): Fix memory leak --- the default
2315                 encryption types was not being freed.
2316
2317 Fri Feb 10 15:45:59 1995  Theodore Y. Ts'o  <tytso@dcl>
2318
2319         * rd_req.c (krb5_rd_req): Remove ISODE cruft.
2320
2321 Thu Feb  9 17:43:04 1995  Theodore Y. Ts'o  <tytso@dcl>
2322
2323         * gc_via_tgt.c (krb5_get_cred_via_tgt): Set up the keyblock's
2324                 etype field correctly (after copying the keyblock, so it
2325                 doesn't get overwritten!)
2326
2327 Mon Feb 06 17:19:04 1995 Chris Provenzano  (proven@mit.edu)
2328
2329         * get_in_tkt.c (krb5_get_in_tkt())
2330         * in_tkt_sky.c (krb5_get_in_tkt_with_skey())
2331         * in_tkt_pwd.c (krb5_get_in_tkt_with_password())
2332                 Removed krb5_keytype, changed krb5_enctype to krb5_enctype *,
2333                 changed krb5_preauthtype to krb5_preauthtype *.
2334
2335                 Changed the args to the key_proc arg of krb5_get_in_tkt()
2336                 to be the following (krb5_context, const krb5_keytype, 
2337                 krb5_data *, krb5_const_pointer, krb5_keyblock **)
2338
2339         * in_tkt_ktb.c (krb5_get_in_tkt_with_keytab()) Added this routine
2340                 to replace krb5_get_in_tkt_with_skey() in kinit.
2341
2342         * Makefile.in Added new source file in_tkt_ktb.c.
2343                 
2344 Fri Feb  3 16:41:19 1995  Mark Eichin  (eichin@cygnus.com)
2345
2346         * get_in_tkt.c (krb5_get_in_tkt): also check for the version
2347         number of the reply being whatever we had in the first byte of the
2348         request.
2349
2350 Fri Feb  3 08:07:55 1995  Theodore Y. Ts'o  (tytso@dcl)
2351
2352         * compat_recv.c (krb_v4_recvauth): Use explicit 32 bit types so
2353                 this will work on an Alpha.
2354
2355 Fri Feb  3 00:43:48 1995  Tom Yu  (tlyu@dragons-lair)
2356
2357         * get_in_tkt.c (krb5_get_in_tkt): fix typo
2358
2359 Thu Feb  2 20:51:55 1995  Mark Eichin  (eichin@cygnus.com)
2360
2361         * get_in_tkt.c (krb5_get_in_tkt): if krb5_is_as_rep fails, check
2362         if the packet might be a V4 error packet. Use modified V4 check so
2363         that it compiles under SCO.
2364
2365 Mon Jan 30 15:46:14 1995 Chris Provenzano (proven@mit.edu)
2366
2367         * int-proto.h Update prototypes for krb5_get_cred_via_tgt(), and
2368                 krb5_get_cred_via_2tgt().
2369
2370         * get_fcreds.c (krb5_get_for_creds()) 
2371         * gc_via_tgt.c (krb5_get_cred_via_tgt())
2372         * gc_2tgt.c (krb5_get_cred_via_2tgt())
2373                 Removed krb5_enctype argument. Pass NULL list of encryption
2374                 types to krb5_send_tgs to get default encryption types.
2375
2376         * gc_frm_kdc.c Removed krb5_enctype argument passed to 
2377                 krb5_get_cred_via_tgt()
2378
2379         * send_tgs.c (krb5_send_tgs()) Changed krb5_enctype arg to
2380                 krb5_enctype *, a NULL terminated array of encryption 
2381                 types. If argument is NULL then krb5_send_tgs() will 
2382                 use defaul list of encryption types.
2383
2384         * send_tgs.c (krb5_send_tgs()) To encrypt request ticket use
2385                 usecred->keyblock.etype instead of (and now defunct) 
2386                 krb5_enctype arg.
2387
2388         * init_ctx.c Added krb5_set_default_in_tkt_etypes() and
2389                 krb5_get_default_in_tkt_etypes().
2390         
2391         * rd_req.c, rd_req_decode.c Removed typedef for rdreq_key_proc
2392                 and use krb5_rd_req_decoded in its place.
2393
2394 Mon Jan 30 11:26:05 1995 Chris Provenzano (proven@mit.edu)
2395
2396         * get_fcreds.c Really needs #include<krb5/asn1.h> for definition
2397                 of krb5_is_krb_error()
2398
2399 Sat Jan 28 14:45:55 1995 Chris Provenzano (proven@mit.edu)
2400
2401         * in_tkt_sky.c (skey_keyproc()), rd_req_dec.c (krb5_rd_req_decoded())
2402                 use new API for krb5_kt_get_entry.
2403
2404 Fri Jan 27 15:45:45 1995 Chris Provenzano (proven@mit.edu)
2405
2406         * get_fcreds.c Removed #include<krb5/crc-32.h> and #include<krb5/asn1.h>
2407
2408 Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
2409
2410         * Removed all narrow types and references to wide.h and narrow.h
2411
2412 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
2413
2414         * Added krb5_context to all krb5_routines
2415
2416 Mon Dec 19 21:55:44 1994  Theodore Y. Ts'o  (tytso@dcl)
2417
2418         * init_ctx.c: New file.  Initializes and frees the krb5_context
2419           structure.
2420
2421 Wed Dec  7 17:52:08 1994    <tytso@localhost>
2422
2423         * rd_req_dec.c (decrypt_authenticator): If the subkey doesn't
2424                 exist, don't try to set the subkey's etype.
2425
2426 Wed Nov 30 17:10:39 1994  Theodore Y. Ts'o  (tytso@dcl)
2427
2428         * bld_princ.c (krb5_build_principal_va): Set the principal's type
2429                 and magic number.
2430
2431         * Makefile.in: Build new test driver (t_walk_rtree) for
2432                 krb5_walk_realm_tree.
2433
2434         * walk_realm_tree.c (krb5_walk_realm_tree): Fix bug which occured
2435                 when the client or the server is a subdomain of the other;
2436                 walk_realm_tree would return the wrong answer, and suffer
2437                 from memory access errors.
2438
2439         * unparse.c (krb5_unparse_name_ext): Quote the '/' and '@'
2440                 characters properly.
2441
2442         * configure.in: Add appropriate help text for the --with-krb4
2443                 option.  Remove ISODE_DEFS call, since ISODE_INCLUDES now
2444                 defines ISODE automatically.
2445
2446 Mon Nov 21 15:30:07 1994  Theodore Y. Ts'o  (tytso@dcl)
2447
2448         * mk_req_ext.c (krb5_mk_req_extended): Sanitize how memory is
2449                 freed in both error and normal cases, to remove memory
2450                 leaks. 
2451
2452         * mk_req_ext.c (krb5_mk_req_extended): Use the encryption type
2453                 specified by the ticket to generate the authenticator.
2454
2455         * encode_kdc.c (krb5_encode_kdc_rep): Now requires that the
2456                 caller pass in the encryption block to be used for
2457                 encrpyting the ticket.  That way, this routine doesn't
2458                 need to create its own encryption block.
2459
2460         * encrypt_tk.c (krb5_encrypt_tkt_part): Now requires that the
2461                 caller pass in the encryption block to be used for
2462                 encrpyting the ticket.  That way, this routine doesn't
2463                 need to create its own encryption block.
2464
2465 Fri Nov 18 17:30:44 1994  Theodore Y. Ts'o  (tytso@dcl)
2466
2467         * mk_req_ext.c (krb5_mk_req_extended): Encrypt the authenticator
2468                 using the same encryption system used to encrypt the ticket.
2469
2470 Thu Nov 17 01:56:05 1994  Theodore Y. Ts'o  (tytso@dcl)
2471
2472         * gc_via_tgt.c (krb5_get_cred_via_tgt): 
2473         * gc_2tgt.c (krb5_get_cred_via_2tgt): Set the encryption type of
2474                 the session keyblock to be the type used to encrypt the
2475                 ticket. 
2476
2477 Fri Nov 11 01:20:22 1994  Theodore Y. Ts'o  (tytso@dcl)
2478
2479         * get_in_tkt.c (krb5_get_in_tkt): Set the encryption type of the
2480                 session keyblock to be the type used to encrypt the
2481                 ticket. 
2482
2483 Thu Nov 10 23:56:43 1994  Theodore Y. Ts'o  (tytso@dcl)
2484
2485         * rd_rep.c (krb5_rd_rep): Set the encryption type in
2486                 the subkey keyblock to be the encryption type used to
2487                 encrypt the rd_rep message.
2488
2489         * decrypt_tk.c (krb5_decrypt_tkt_part): Set the encryption type in
2490                 the session keyblock to be the encryption type used to
2491                 encrypt the ticket.
2492
2493         * rd_req_dec.c (decrypt_authenticator): Set the encryption type in
2494                 the subkey keyblock to be the encryption type used to
2495                 encrypt the authenticator. 
2496
2497 Tue Nov  8 17:09:48 1994  Theodore Y. Ts'o  (tytso@dcl)
2498
2499         * in_tkt_pwd.c (pwd_keyproc): Use the documented interface for
2500                 calling krb5_string_to_key().
2501
2502 Tue Oct 25 23:34:57 1994  Theodore Y. Ts'o  (tytso@dcl)
2503
2504         * srv_rcache.c (krb5_get_server_rcache): Added missing continue so
2505                 that we don't copy both the unprintable character as well
2506                 as the quoted version of it.
2507
2508 Mon Oct 24 15:50:19 1994  Theodore Y. Ts'o  (tytso@dcl)
2509
2510         * configure.in: If KRB4 is defined, define KRB5_KRB4_COMPAT for
2511                 compat_recv.c.
2512
2513 Thu Oct 13 17:26:28 1994  Theodore Y. Ts'o  (tytso@maytag)
2514
2515         * configure.in: Add ISODE_DEFS
2516
2517 Tue Oct  4 16:29:19 1994  Theodore Y. Ts'o  (tytso@dcl)
2518
2519         * in_tkt_sky.c (skey_keyproc):
2520         * in_tkt_pwd.c (pwd_keyproc): Add widen.h and narrow.h includes
2521                 around pwd_keyproc, so that the keyproc input arguments
2522                 are appropriately widened.
2523
2524 Fri Sep 30 21:58:15 1994  Theodore Y. Ts'o  (tytso@dcl)
2525
2526         * preauth.c (preauth_systems): Add placeholder for magic number
2527
2528 Thu Sep 29 15:31:10 1994  Theodore Y. Ts'o  (tytso@dcl)
2529
2530         * srv_rcache.c (krb5_get_server_rcache): cachename was not being
2531                 properly null-terminated.
2532
2533         * get_in_tkt.c (krb5_get_in_tkt): Return KRB5_IN_TKT_REALM_MISATCH
2534                 if the client and server realms don't match.  Return
2535                 KRB5_KDCREP_SKEW if the KDC reply has an unacceptible
2536                 clock skew (instead of KDCREP_MODIFIED.)
2537
2538         * gc_via_tgt.c (krb5_get_cred_via_tgt): Use a distinct error code
2539                 for KDC skew separate from the standard KDCREP_MODIFIED
2540
2541         * princ_comp.c (krb5_realm_compare): Added new function from
2542                 OpenVision.
2543
2544 Wed Sep 21 17:57:35 1994  Theodore Y. Ts'o  (tytso@dcl)
2545
2546         * rd_req_dec.c (krb5_rd_req_decoded): Added Changes from Cybersafe
2547                 to do transited realm path checking.
2548
2549         * chk_trans.c: Added donated module from CyberSafe.  It checks to
2550                 see if a transited path is a legal one between two realms.
2551
2552 Thu Sep 15 11:08:39 1994  Theodore Y. Ts'o  (tytso@dcl)
2553
2554         * rd_req_sim.c (krb5_rd_req_simple): Use krb5_rd_req instead of
2555                 krb5_rd_req_decoded, to eliminate some code duplication.
2556
2557 Sat Aug 20 01:43:43 1994  Theodore Y. Ts'o  (tytso at tsx-11)
2558
2559         * mk_req_ext.c (krb5_generate_authenticator): Fix pointer aliasing
2560         problem between newkey and authent->subkey.
2561
2562 Wed Aug 17 17:58:22 1994  Theodore Y. Ts'o  (tytso at tsx-11)
2563
2564         * encode_kdc.c (krb5_encode_kdc_rep): Pass in to
2565         encode_krb5_enc_kdc_rep_part the msg_type which should be used.
2566         Old versions of Kerberos always assume TGS_REP; this merely allows
2567         the right msg_type to be passed down to the encoding routines.
2568         For now, the encoding routines will ignore this value and do
2569         things the old way, for compatibility's sake.
2570
2571 Mon Aug  8 22:38:16 1994  Theodore Y. Ts'o  (tytso at tsx-11)
2572
2573         * preauth.c: Renamed preauthentication mechanism names to match
2574         what bcn and I agreed upon.
2575
2576 Tue Jun 28 19:35:07 1994  Tom Yu  (tlyu at dragons-lair)
2577
2578         * decode_kdc.c: folding in Harry's changes
2579         * rd_req.c: ditto
2580         * rd_req_sim.c: ditto
2581         * configure.in: adding ISODE_DEFS
2582