282fb3c1e0
- handle releases where texlive packaging wasn't yet as complicated as it is in Fedora 18 - fix an uninitialized-variable error building one of the test programs
13 lines
526 B
Diff
13 lines
526 B
Diff
If krb5_init_context() fails, context is going to be NULL anyway.
|
|
--- krb5/src/lib/krb5/krb/t_cc_config.c
|
|
+++ krb5/src/lib/krb5/krb/t_cc_config.c
|
|
@@ -117,7 +117,7 @@ main(int argc, char **argv)
|
|
int c;
|
|
unsigned int i;
|
|
|
|
- bail_on_err(context, "Error initializing Kerberos library",
|
|
+ bail_on_err(NULL, "Error initializing Kerberos library",
|
|
krb5_init_context(&context));
|
|
bail_on_err(context, "Error getting location of default ccache",
|
|
krb5_cc_default(context, &ccache));
|