Assar Westerlund 
							
						 
					 
					
						
						
							
						
						b6869bc38c 
					 
					
						
						
							
							lots of changes from size_t to ssize_t  
						
						... 
						
						
						
						(krb5_ret_stringz): check return value from realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6553 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-26 00:49:56 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						b49a25f1a8 
					 
					
						
						
							
							some type correctness  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6552 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-26 00:47:04 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						577d8c8e72 
					 
					
						
						
							
							(krb5_storage): change return values of functions from size_t to  
						
						... 
						
						
						
						ssize_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6551 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-26 00:46:31 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						b6e362688c 
					 
					
						
						
							
							(find_all_addresses): try to use SA_LEN to step over addresses if  
						
						... 
						
						
						
						there's no `sa_lan' field
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6537 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-24 19:53:19 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						0c38bc4cdb 
					 
					
						
						
							
							(krb5_sock_to_principal): simplify by using `struct sockaddr_storage'  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6528 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-24 18:43:03 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						653f6dbe29 
					 
					
						
						
							
							(krb5_sendto_kdc): simplify by using `struct sockaddr_storage'  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6527 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-24 18:42:47 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						a269eaa059 
					 
					
						
						
							
							(krb5_change_password): simplify by using `struct sockaddr_storage'  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6526 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-24 18:42:22 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						01ffcdd1c2 
					 
					
						
						
							
							(krb5_auth_con_setaddrs_from_fd): simplify by using `struct sockaddr_storage'  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6525 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-24 18:41:57 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						4839812e86 
					 
					
						
						
							
							conditionalize on HAVE_IPV6 instead of AF_INET6  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6519 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-24 11:02:33 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						4ff4b6c5f0 
					 
					
						
						
							
							(find_all_addresses): try to handle the case of getting back an  
						
						... 
						
						
						
						`sockaddr_in6' address when sizeof(struct sockaddr_in6) >
sizeof(struct sockaddr) and we have no sa_len to tell us how large the
address is.  This obviously doesn't work with unknown protocol types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6514 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-24 00:45:14 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						e68dfb6cc8 
					 
					
						
						
							
							(main): print the correct data  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6490 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-22 11:45:33 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						770a0aab91 
					 
					
						
						
							
							update to new format for cpp define SunOS  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6480 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-22 02:58:32 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						e89c2166db 
					 
					
						
						
							
							new tests  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6467 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-14 21:07:02 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						fa1515c076 
					 
					
						
						
							
							add string_to_key_test  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6465 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-14 20:57:52 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						583ed2cb9b 
					 
					
						
						
							
							(krb5_program_setup): always initialize the context  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6464 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-14 20:57:02 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						5af4587f1b 
					 
					
						
						
							
							(main): return a relevant return value  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6463 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-14 15:37:49 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						439ad99768 
					 
					
						
						
							
							do SRV lookups for admin server as well.  
						
						... 
						
						
						
						some clean-up.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6462 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-14 14:02:12 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						f80e282f5b 
					 
					
						
						
							
							(ipv6_parse_addr): remove duplicate variable  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6432 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-06 12:17:34 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						8b852df2ff 
					 
					
						
						
							
							(ipv6_sockaddr2port): fix typo  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6431 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-06 12:16:47 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						d29c0e7838 
					 
					
						
						
							
							(krb5_cc_resolve): fall-back to files if there's no prefix.  also  
						
						... 
						
						
						
						clean-up a little bit.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6424 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-06 00:40:58 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						0117755210 
					 
					
						
						
							
							test program  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6420 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-05 00:21:09 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						849381ffe0 
					 
					
						
						
							
							(add_padat): encrypt pre-auth data with all enctypes  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6411 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-04 15:42:35 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						b68a6ee7f1 
					 
					
						
						
							
							(unparse_name): error check malloc properly  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6400 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-03 02:34:20 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						5a2a11f6e6 
					 
					
						
						
							
							(krb5_init_etype): error check malloc properly  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6399 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-03 02:33:32 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						9230f6de40 
					 
					
						
						
							
							(*): do some malloc return-value checks properly  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6397 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-07-03 02:32:51 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						022ae5ecc6 
					 
					
						
						
							
							(ipv6_parse_addr): implement  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6385 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-29 02:11:46 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						8a80d1a936 
					 
					
						
						
							
							(krb5_rd_cred): compare the sender's address as an addrport one  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6376 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-24 17:19:51 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						5178d921b9 
					 
					
						
						
							
							(KRB5_ADDRESS_ADDRPORT, KRB5_ADDRESS_IPPORT): add  
						
						... 
						
						
						
						(krb5_auth_context): add local and remote port
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6375 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-24 17:19:09 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						3e3591b1a0 
					 
					
						
						
							
							(krb5_get_forwarded_creds): get the local and remote address and add  
						
						... 
						
						
						
						them to the krb-cred packet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6374 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-24 17:18:24 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						3016410999 
					 
					
						
						
							
							save the local and remove ports in the auth_context  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6373 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-24 17:11:04 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						f7ad9e28eb 
					 
					
						
						
							
							(krb5_make_addrport): create an address of type KRB5_ADDRESS_ADDRPORT  
						
						... 
						
						
						
						from (addr, port)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6372 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-24 17:10:42 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						70fe4312c6 
					 
					
						
						
							
							(krb5_sockaddr2port): new function for grabbing the port number out of  
						
						... 
						
						
						
						the sockaddr
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6371 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-24 17:10:15 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						8335186d31 
					 
					
						
						
							
							(parse_list): handle blank lines at another place  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6364 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-23 16:37:32 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						f67bbf1a82 
					 
					
						
						
							
							rewrite to use get_default_username  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6316 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-15 02:47:11 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						62bdd58c11 
					 
					
						
						
							
							add n-fold-test  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6315 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-15 02:46:46 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						5fc1487dfb 
					 
					
						
						
							
							(ipv6_uninteresting): don't consider the loopback address as  
						
						... 
						
						
						
						uninteresting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6302 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-09 06:19:43 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						02689992d9 
					 
					
						
						
							
							new magic flag to get loopback address if there are no other  
						
						... 
						
						
						
						addresses.
(krb5_get_all_client_addrs): use that flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6301 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-09 06:17:36 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						f1d99aa1e9 
					 
					
						
						
							
							(add1): joda-fix  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6297 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-04 19:56:58 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						f2cf913bd2 
					 
					
						
						
							
							(HMAC_SHA1_DES3_checksum): don't include the length  
						
						... 
						
						
						
						(checksum_sha1, checksum_hmac_sha1_des3): blocksize should be 64
(encrypt_internal_derived): don't include the length and don't
decrease by the checksum size twice
(_get_derived_key): the constant should be 5 bytes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6295 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-03 23:06:10 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						03adfaa3b1 
					 
					
						
						
							
							(DES3_postproc): new version that does the right thing  
						
						... 
						
						
						
						(*): don't put and recover length in 3DES encoding
other small fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6294 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-06-03 17:36:04 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						31423b5edb 
					 
					
						
						
							
							(krb5_get_host_realm): don't free if we didn't manage to set anything  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6272 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-21 13:18:55 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						fa88e29d84 
					 
					
						
						
							
							(verify_checksum): call (*ct->checksum) directly, avoiding redundant  
						
						... 
						
						
						
						lookups and memory leaks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6271 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-21 12:46:38 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						641c286e2e 
					 
					
						
						
							
							(krb5_auth_con_setaddrs_from_fd): free local and remote addresses  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6270 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-21 09:57:46 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						fdbb09f0e3 
					 
					
						
						
							
							(get_logname): also try $USERNAME  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6268 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-21 09:28:40 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						dbaadb6d3c 
					 
					
						
						
							
							(USE_RESOLVER): try to define only if we have a libresolv (currently  
						
						... 
						
						
						
						by checking for res_search)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6256 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-20 23:57:34 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						cbc6d8e2ed 
					 
					
						
						
							
							fix past-o  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6203 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-11 12:06:15 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						30f9781488 
					 
					
						
						
							
							(krb5_sendauth): handle ccache == NULL by setting the default ccache.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6191 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-10 03:46:38 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						f4893f23f7 
					 
					
						
						
							
							(init_as_req): interpret `addrs' being an empty sit of list as to not  
						
						... 
						
						
						
						ask for any addresses.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6168 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-09 08:49:20 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						d5227abb81 
					 
					
						
						
							
							(change_password): add colon to prompt strings  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6146 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-06 10:14:40 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						2ee4dab98b 
					 
					
						
						
							
							HAVE_NETINFO_NI_H -> HAVE_NETINFO  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6069 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-03 09:25:45 +00:00