[krbdev.mit.edu #3037] krbdev.mit.edu #3030
""RAGHAVENDRA@MIT.EDU
""RAGHAVENDRA at MIT.EDU
Mon May 2 12:33:59 EDT 2005
*** 359,366 ****
int use_k5 = 0;
int i;
! /* Added to support -a option*/
! while ((i = GETOPT(argc, argv, "r:fpFP54aAVl:s:c:kt:RS:v"))
!= -1) {
switch (i) {
case 'V':
--- 281,287 ----
int use_k5 = 0;
int i;
! while ((i = GETOPT(argc, argv, "r:fpFP54AVl:s:c:kt:RS:v"))
!= -1) {
switch (i) {
case 'V':
***************
*** 816,822 ****
krb5_creds my_creds;
krb5_error_code code = 0;
krb5_get_init_creds_opt options;
- krb5_address **addresses = NULL;
if (!got_k5)
return 0;
--- 737,742 ----
***************
*** 843,848 ****
--- 763,769 ----
krb5_get_init_creds_opt_set_proxiable(&options, 0);
if (opts->addresses)
{
+ krb5_address **addresses = NULL;
code = krb5_os_localaddr(k5->ctx, &addresses);
if (code != 0) {
com_err(progname, code, "getting local addresses");
***************
*** 942,950 ****
notix = 0;
cleanup:
- if(addresses)
- krb5_free_addresses(k5->ctx, addresses);
-
if (my_creds.client == k5->me) {
my_creds.client = 0;
}
--- 860,865 ----
--
***********************************************************************
Ramya Raghavendra
SNSL-i, Internet Security and Enterprise Computing
HP-ISO
ramya.raghavendra at hp.com
Ph: 2205 2882
More information about the krb5-bugs
mailing list