krb5_os_init_context instead of random stack values.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5463
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Apr 24 17:09:36 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * init_ctx.c (krb5_init_context): If an error is returned from
+ krb5_set_default_in_tkt_etypes or krb5_os_init_context,
+ pass to caller instead of stack garbage.
+
Sat Apr 22 11:06:45 1995 Ezra Peisach (epeisach@kangaroo.mit.edu)
* Makefile.in: t_walk_rtree needs libcrypto
ctx->magic = KV5M_CONTEXT;
/* Set the default encryption types, possible defined in krb5/conf */
- if (krb5_set_default_in_tkt_etypes(ctx, NULL))
+ if (retval = krb5_set_default_in_tkt_etypes(ctx, NULL))
goto cleanup;
- if (krb5_os_init_context(ctx))
+ if (retval = krb5_os_init_context(ctx))
goto cleanup;