flags correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3279 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -63,6 +63,7 @@ krb5_get_forwarded_creds (krb5_context	    context, | |||||||
|     u_char buf[1024]; |     u_char buf[1024]; | ||||||
|     krb5_data enc_data; |     krb5_data enc_data; | ||||||
|     int32_t sec, usec; |     int32_t sec, usec; | ||||||
|  |     krb5_kdc_flags kdc_flags; | ||||||
|  |  | ||||||
|     out_creds = calloc(1, sizeof(*out_creds)); |     out_creds = calloc(1, sizeof(*out_creds)); | ||||||
|     if (out_creds == NULL) |     if (out_creds == NULL) | ||||||
| @@ -100,9 +101,11 @@ krb5_get_forwarded_creds (krb5_context	    context, | |||||||
| 	memcpy (addrs.val[n].address.data, *h, sizeof(struct in_addr)); | 	memcpy (addrs.val[n].address.data, *h, sizeof(struct in_addr)); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     kdc_flags.i = flags; | ||||||
|  |  | ||||||
|     ret = krb5_get_kdc_cred (context, |     ret = krb5_get_kdc_cred (context, | ||||||
| 			     ccache, | 			     ccache, | ||||||
| 			     flags, | 			     kdc_flags, | ||||||
| 			     &addrs, | 			     &addrs, | ||||||
| 			     NULL, | 			     NULL, | ||||||
| 			     in_creds, | 			     in_creds, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund