add timeout to krb5_send_to_kdc_func, from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24969 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -384,8 +384,8 @@ krb5_sendto (krb5_context context, | ||||
| 	     if (context->send_to_kdc) { | ||||
| 		 struct send_to_kdc *s = context->send_to_kdc; | ||||
|  | ||||
| 		 ret = (*s->func)(context, s->data, | ||||
| 				  hi, send_data, receive); | ||||
| 		 ret = (*s->func)(context, s->data, hi, | ||||
| 				  context->kdc_timeout, send_data, receive); | ||||
| 		 if (ret == 0 && receive->length != 0) | ||||
| 		     goto out; | ||||
| 		 continue; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand