Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						5118c90498 
					 
					
						
						
							
							Rename u_intXX_t to uintXX_t  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17450 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-05-05 11:11:43 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						5e969ca2b3 
					 
					
						
						
							
							fix unconst and shadow warnings  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15600 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2005-07-09 02:19:10 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						8f06415a58 
					 
					
						
						
							
							don't directly use sockaddr_storage, since we can't always know what  
						
						... 
						
						
						
						it looks like
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12055 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2003-04-16 16:45:43 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						c0a3a2220c 
					 
					
						
						
							
							some ipv6 support (from Love)  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11477 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2002-10-15 16:48:46 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						21e16274ce 
					 
					
						
						
							
							remove only reference to strndup  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11202 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2002-08-22 16:23:28 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						71a474e177 
					 
					
						
						
							
							adopt to new KRB_CRYPTO  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10556 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-08-26 01:40:38 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						aad564d1c2 
					 
					
						
						
							
							re-write the handling of crypto libraries.  try to use the one of  
						
						... 
						
						
						
						openssl's libcrypto or krb4's libdes that has all the required
functionality (md4, md5, sha1, des, rc4).  if there is no such
library, the included lib/des is built.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10519 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-08-22 20:30:33 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						705584d24a 
					 
					
						
						
							
							(connect_local_xsocket): handle a tcp socket as last resort  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10332 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-07-12 09:48:02 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						2aefcf796c 
					 
					
						
						
							
							try to use handle using openssl instead of libdes better.  based on patches from GOMBAS Gabor <gombasg@inf.elte.hu> and Brian May <bam@snoopy.apana.org.au>  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9681 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-02-15 04:20:54 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						63941620b2 
					 
					
						
						
							
							don't write to string constants  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9475 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2001-01-17 10:09:16 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						5f648d3799 
					 
					
						
						
							
							use socklen_t where appropriate instead of int  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2000-08-09 20:53:11 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						499c5a0751 
					 
					
						
						
							
							try hostname uncanonified if getaddrinfo() fails  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8194 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2000-04-19 14:19:38 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						0457569ebe 
					 
					
						
						
							
							(match_local_auth): handle ai_canonname being set in any of the addresses  
						
						... 
						
						
						
						returnedby getaddrinfo.  glibc apparently returns the reverse lookup
of every address in ai_canonname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7759 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2000-01-08 08:02:46 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						c15e4404a8 
					 
					
						
						
							
							(match_local_auth): remove extra brace.  spotted by Jakob Schlyter  
						
						... 
						
						
						
						<jakob@cdg.chalmers.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7623 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-12-17 10:03:47 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						ea9cde948d 
					 
					
						
						
							
							(match_local_auth): handle ai_canonname not being set  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7606 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-12-16 11:45:23 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						839fb22e8a 
					 
					
						
						
							
							(INADDR_LOOPBACK): remove.  now in roken.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7544 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-12-05 13:25:53 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						69c0957e94 
					 
					
						
						
							
							(find_auth_cookie, match_local_auth): re-write to use getaddrinfo  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7496 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-12-04 18:04:50 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						3ca5f8150f 
					 
					
						
						
							
							remove advertising clause  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-12-02 16:58:55 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						65423ced9d 
					 
					
						
						
							
							(match_local_auth): only look for FamilyLocal (and FamilyWild)  
						
						... 
						
						
						
						cookies.  This will not work when we start talking tcp to the local
X-server but `connect_local_xsocket' and the rest of the code doesn't
handle it anyway and the old code could (and did) pick up the wrong
cookie sometimes.  If we have to match FamilyInternet cookies, the
search order has to be changed anyway
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7058 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-09-29 17:03:21 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						bf75fac82a 
					 
					
						
						
							
							large strc{py,at}_truncate -> strlc{py,at} replacement  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-09-16 20:41:57 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						918df1c71c 
					 
					
						
						
							
							update comments  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6212 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-12 17:33:39 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						231b5fb378 
					 
					
						
						
							
							(do_enccopy, copy_encrypted): remove  
						
						... 
						
						
						
						use net_{read,write} instead of krb_net_{read,write}
(krb_get_int, krb_put_int): include fallback of these for when we
compile without krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6181 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-10 00:14:56 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						f50d984d02 
					 
					
						
						
							
							(create_and_write_cookie): try to return better (and correct) errors.  
						
						... 
						
						
						
						Based on a patch from Love <lha@e.kth.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6154 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-08 01:24:21 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						19fac42582 
					 
					
						
						
							
							(try_pie): more braces  
						
						... 
						
						
						
						(match_local_auth): new function
(find_auth_cookie): new function
(replace_cookie): don't just take the first auth cookie.  based on
patch from Ake Sandgren <ake@@cs.umu.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6152 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-05-07 23:59:14 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						e7293edce6 
					 
					
						
						
							
							(get_xsockets): init local variable to get rid of a gcc warning  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5867 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-04-07 18:39:21 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						26d6518f37 
					 
					
						
						
							
							fix some warnings  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5505 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-03-11 13:58:31 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						816c30fe89 
					 
					
						
						
							
							(verify_and_remove_cookies): give back a meaningful error message if  
						
						... 
						
						
						
						we're using the wrong cookie
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5277 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1999-01-22 17:49:12 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						4d816f025a 
					 
					
						
						
							
							(replace_cookie): try to handle the case of not finding any cookies  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5266 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-12-18 16:42:00 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						c12b1910b2 
					 
					
						
						
							
							(try_pipe): return -1 if I_PUSH fails with ENOSYS  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5167 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-09-28 16:04:02 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						a13f0423b7 
					 
					
						
						
							
							(chown_xsockets): new function  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5153 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-09-26 15:34:39 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						dc0dfabdfe 
					 
					
						
						
							
							implement support for Solaris's named-pipe X transport  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5121 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-08-16 16:35:13 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						a5f54865d4 
					 
					
						
						
							
							merge strcpy_truncate branch  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-06-09 19:25:40 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						8fa37bff11 
					 
					
						
						
							
							fix for (compiler?) bug in solaris 2.4 bind  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4963 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-05-28 15:21:08 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						d2ff8ff623 
					 
					
						
						
							
							(connect_local_xsocket): update to try the list of potential socket  
						
						... 
						
						
						
						pathnames
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4781 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-04-19 07:44:33 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						698eb42a8f 
					 
					
						
						
							
							(get_xsockets): try getting sockets in lots of places  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4601 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1998-03-18 22:30:10 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						84e37f1aef 
					 
					
						
						
							
							more error testing from Love Hörnquist-Åstrand <e96_lho@elixir.e.kth.se>  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4180 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-12-10 02:56:11 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						ab1f67a67b 
					 
					
						
						
							
							trams  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4177 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-12-09 17:22:47 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						9e36ab86f3 
					 
					
						
						
							
							check malloc and strdup  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4129 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-12-05 04:26:29 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						3a70853f65 
					 
					
						
						
							
							k_gethostname -> gethostname  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4116 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-12-05 01:47:54 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						c99460c09c 
					 
					
						
						
							
							(create_and_write_cookie) Create temp file with mkstemp.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3876 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-11-09 11:13:21 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						9735004593 
					 
					
						
						
							
							(copy_encrypted): do the type-corrected copy with IV.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1839 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-06-03 03:21:01 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						e40377974e 
					 
					
						
						
							
							Zero local address.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1778 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-25 17:44:38 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						dd02a92a8b 
					 
					
						
						
							
							replace sprintf all over the place  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1635 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-05-02 14:29:33 +00:00 
						 
				 
			
				
					
						
							
							
								Johan Danielsson 
							
						 
					 
					
						
						
							
						
						e1282e7dfc 
					 
					
						
						
							
							Update copyright strings.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1541 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-04-01 08:19:18 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						70cea0ce07 
					 
					
						
						
							
							more fixes  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1529 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-03-30 17:45:33 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						b201d1fd93 
					 
					
						
						
							
							removed prog. Use err & c:o  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1528 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-03-30 17:38:11 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						9ab8464172 
					 
					
						
						
							
							verify_and_remove_cookies, replace_cookie: new functions  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1519 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-03-30 16:06:09 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						7a4e4936b1 
					 
					
						
						
							
							conditional getsockopt  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1189 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1997-01-26 19:34:04 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						2c09e521fb 
					 
					
						
						
							
							check for INADDR_LOOPBACK  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1062 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1996-11-21 20:03:21 +00:00 
						 
				 
			
				
					
						
							
							
								Assar Westerlund 
							
						 
					 
					
						
						
							
						
						99f492acf0 
					 
					
						
						
							
							careful not to thrust h_length from gethostby{name,addr}  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1056 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						1996-11-19 21:56:12 +00:00