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) { | 	     if (context->send_to_kdc) { | ||||||
| 		 struct send_to_kdc *s = context->send_to_kdc; | 		 struct send_to_kdc *s = context->send_to_kdc; | ||||||
|  |  | ||||||
| 		 ret = (*s->func)(context, s->data, | 		 ret = (*s->func)(context, s->data, hi, | ||||||
| 				  hi, send_data, receive); | 				  context->kdc_timeout, send_data, receive); | ||||||
| 		 if (ret == 0 && receive->length != 0) | 		 if (ret == 0 && receive->length != 0) | ||||||
| 		     goto out; | 		     goto out; | ||||||
| 		 continue; | 		 continue; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand