NetBSD/crypto/dist/heimdal/kdc
nathanw 1cc86f8ba4 Check the return value of krb5_init_context(), and bail out if it failed.
Also, when failing, don't try to use the non-initialized context value
to determine the error text.

This avoids dumping core in the following programs when /etc/krb5.conf is
missing or broken: klist, kdestroy, kpasswd, kadmin, kadmind, ktutil, kdc.

XXX Better error reporting in this failure case would be nice.
2000-12-19 21:31:11 +00:00
..
524.c printf format pedant. (size_t -> u_long). 2000-10-10 13:14:55 +00:00
config.c move config and log files out of /var/heimdal 2000-09-10 19:29:44 +00:00
connect.c printf format pedant. (size_t -> u_long). 2000-10-10 13:14:55 +00:00
headers.h import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
hprop.8 import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
hprop.c import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
hprop.h import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
hpropd.8 remove extra .Xc 2000-11-12 15:40:19 +00:00
hpropd.c import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
kadb.h import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
kaserver.c import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
kdc_locl.h Format string cleanup by sommerfeld. 2000-10-08 18:40:08 +00:00
kdc.8 fix bad mdoc markup. closed PR/10854 2000-08-20 10:36:40 +00:00
kerberos4.c import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
kerberos4.h import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
kerberos5.c import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
kstash.8 import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
kstash.c import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
log.c move config and log files out of /var/heimdal 2000-09-10 19:29:44 +00:00
main.c Check the return value of krb5_init_context(), and bail out if it failed. 2000-12-19 21:31:11 +00:00
Makefile.am import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
Makefile.in import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
misc.c import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
mit_dump.c import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
rx.h import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
string2key.8 import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
string2key.c import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
v4_dump.c import of heimdal 0.3a 2000-08-02 19:57:59 +00:00