it's not used.
kprop.c (get_tickets): Remove the call to krb5_os_localaddr() since
get_in_tkt_XXXX will default appropriately.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5235
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Mar 24 14:49:41 1995 <tytso@rsx-11.mit.edu>
+
+ * kpropd.c (PRS): Don't bother initializing server_addrs since
+ it's not used.
+
+ * kprop.c (get_tickets): Remove the call to krb5_os_localaddr() since
+ get_in_tkt_XXXX will default appropriately.
+
Thu Mar 2 12:26:08 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in (ISODELIB): Remove reference to $(ISODELIB).
char buf[BUFSIZ];
char *cp;
struct hostent *hp;
- krb5_address **my_addresses;
krb5_error_code retval;
static char tkstring[] = "/tmp/kproptktXXXXXX";
com_err(progname, retval, "While copying client principal");
exit(1);
}
- /*
- * Get my addresses
- */
- retval = krb5_os_localaddr(&my_addresses);
- if (retval != 0) {
- com_err(progname, retval,
- "when getting my address");
- exit(1);
- }
- retval = krb5_get_in_tkt_with_keytab(context, 0, my_addresses, NULL,
+ retval = krb5_get_in_tkt_with_keytab(context, 0, 0, NULL,
NULL, NULL, ccache, &creds, 0);
if (retval) {
com_err(progname, retval, "while getting initial ticket\n");
krb5_principal server; /* This is our server principal name */
krb5_principal client; /* This is who we're talking to */
krb5_keyblock *session_key; /* Here is the session key */
-krb5_address **server_addrs;
krb5_pointer kerb_keytab = 0; /* Use default */
krb5_context kpropd_context;
char *realm = NULL; /* Our realm */
"While trying to parse %s for service name");
exit(1);
}
- if (retval = krb5_os_localaddr(&server_addrs)) {
- com_err(progname, retval,
- "While trying to get local server address");
- exit(1);
- }
/*
* Construct the name of the temporary file.
*/