(krb5_change_password): use the correct address
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7568 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -281,10 +281,6 @@ krb5_change_password (krb5_context context,
|
|||||||
int i;
|
int i;
|
||||||
struct addrinfo *ai, *a;
|
struct addrinfo *ai, *a;
|
||||||
|
|
||||||
struct sockaddr_storage __ss;
|
|
||||||
struct sockaddr *sa = (struct sockaddr *)&__ss;
|
|
||||||
int sa_size = sizeof(__ss);
|
|
||||||
|
|
||||||
ret = krb5_auth_con_init (context, &auth_context);
|
ret = krb5_auth_con_init (context, &auth_context);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
@@ -309,8 +305,8 @@ krb5_change_password (krb5_context context,
|
|||||||
&auth_context,
|
&auth_context,
|
||||||
creds,
|
creds,
|
||||||
sock,
|
sock,
|
||||||
sa,
|
a->ai_addr,
|
||||||
sa_size,
|
a->ai_addrlen,
|
||||||
newpw);
|
newpw);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto out;
|
goto out;
|
||||||
|
Reference in New Issue
Block a user