1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
Sat Jul 9 00:26:48 1994 Tom Yu (tlyu at dragons-lair)
* asn1_encode_k.c (asn1_encode_pa_data): the contents field of a
krb5_pa_data structure can be NULL (e.g.
salt_type==KRB5_KDB_SALTTYPE_V4), and the encoder was treating
this as a missing required field
Fri Jul 8 17:32:29 1994 Tom Yu (tlyu at dragons-lair)
* asn1_decode_k.c: yet another instance of the SunOS realloc bug
* asn1buf.c: whee SunOS realloc of a NULL pointer returns NULL.
sigh.
Wed Jul 6 13:21:35 1994 Mark Eichin (eichin@cygnus.com)
* an1buf.c: Harry saves vs. Unix again. Making sure that anything
that can call calloc with a zero argument won't return ENOMEM if
calloc retuns NULL in this case. This was prompted by breakage
under linux.
* asn1_encode.c (asn1_encode_generaltime): don't use strftime on
the output of gmtime -- under Solaris, it mutates it! (seems to be
doing a timezone offset.) Besides, sprintf is quite sufficient.
Also rename local variable time to gtime to avoid name collision.
(asn1_decode_generaltime): the fixed-point method below doesn't
actually work because it doesn't handle the current timezone
offset. Simpler, and more general -- always call gmt_mktime, which
is now provided in lib/krb5/os/gmt_mktime.c.
Sun Jul 3 04:43:42 1994 Tom Yu (tlyu at dragons-lair)
* asn1_encode_k.h:
* asn1buf.c:
* krbasn1.h: punt stdlib.h in favor of stdio.h. It looks like
Harry was assuming that NULL gets defined in stdlib instead of
stdio
Fri Jul 1 13:03:39 1994 Mark Eichin (eichin@cygnus.com)
* asn1_encode_k.c (asn1_encode_msgtype): comment out krb5_msgtype
decl of val arg, use int (to match prototype in header.) Throw out
OLDDECLARG, DECLARG, and use old-style definition to match style
of the rest of the code.
(asn1_encode_ui_4): comment out krb5_ui_4 decl of val arg, use int
(to match prototype in header.) Also rewrote definition header.
* asn1_decode.c (asn1_decode_generaltime): tm_gmtoff is *not* in
System V either. The only portable way to find the delta is to
subtract gmtime from localtime at a fixed point (epoch+24hours is
an easy way to simplify the arithmetic.)
HAVE_GMTOFF: might someday be defined, but for now merely labels
what the code original did/was intended to do.
* configure.in: redo "autoconf frobbage" since the old way didn't
work with srcdir. Now, AC_OUTPUT generates all three Makefiles,
and ISODEMAKEFILE is subst'ed in to be either Makefile.isode or
Makefile.sane. EXTRA_RULES_IN is used to append the extra stuff to
the end of the "real" one of the two.
* configure.in: krb5_encode.h and krb5_encode.h are source, not
generated, so use CopySrcHeader instead.
Tue Jun 28 19:57:28 1994 Tom Yu (tlyu at dragons-lair)
* configure.in:
* Makefile.in: autoconf frobbage
|