Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						d82410ea88 
					 
					
						
						
							
							add header files for libtommath  
						
						
						
						
					 
					
						2010-09-15 12:06:16 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						736a08059a 
					 
					
						
						
							
							spelling  
						
						
						
						
					 
					
						2010-09-14 10:44:33 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Wilkinson 
							
						 
					 
					
						
						
							
						
						d28ec4ba61 
					 
					
						
						
							
							Don't typedef u8, u16, u32 in rijndael-alg-fast.c  
						
						... 
						
						
						
						Some kernels define u8, u16 and u32 in their standard headers.
Redefining these symbols in hcrypto's own code prevents that code
from compiling on those kernels.
Instead, just replace all occurrences of u8, u16 and u32 with the
symbols that uint8_t, uint16_t and uint32_t that they were being
typedef'd as, anyway.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org > 
						
						
					 
					
						2010-09-14 10:26:14 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Wilkinson 
							
						 
					 
					
						
						
							
						
						8a5d3ca959 
					 
					
						
						
							
							Rename current to SHA1current  
						
						... 
						
						
						
						Some kernels define 'current' as a #define. This causes chaos when
we try to build sha.c. So, rename current as 'SHA1current', and avoid
the insanity. 
						
						
					 
					
						2010-09-14 10:24:43 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						64a2e57029 
					 
					
						
						
							
							add arguments to rk_rename to move it into the macro/function namespace  
						
						
						
						
					 
					
						2010-09-14 10:18:08 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						d05098b950 
					 
					
						
						
							
							New drop with windows code from Secure Endpoints/Asanka  
						
						
						
						
					 
					
						2010-09-14 10:08:03 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						a37554cc27 
					 
					
						
						
							
							clean better  
						
						
						
						
					 
					
						2010-09-14 09:29:40 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						ad0c3839b5 
					 
					
						
						
							
							clean better  
						
						
						
						
					 
					
						2010-09-14 09:29:35 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						50ea273b5f 
					 
					
						
						
							
							clean better  
						
						
						
						
					 
					
						2010-09-14 09:29:29 -07:00 
						 
				 
			
				
					
						
							
							
								Asanka C. Herath 
							
						 
					 
					
						
						
							
						
						079cbf7a1a 
					 
					
						
						
							
							Windows: Build the SDK  
						
						
						
						
					 
					
						2010-09-14 08:04:20 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka C. Herath 
							
						 
					 
					
						
						
							
						
						8232a8dc4c 
					 
					
						
						
							
							Windows: packages/windows/sdk  
						
						... 
						
						
						
						The Makefile in this directory pulls in the SDK into a separate directory tree. 
						
						
					 
					
						2010-09-14 08:04:19 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						b3797f428b 
					 
					
						
						
							
							Add krb5_c_random_make_octets() to mit_glue.c  
						
						
						
						
					 
					
						2010-09-14 08:04:19 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						80599fcd94 
					 
					
						
						
							
							Define KRB5_TC_OPENCLOSE and KRB5_TC_NOTICKET in krb5.h  
						
						
						
						
					 
					
						2010-09-14 08:04:18 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						e447009d1b 
					 
					
						
						
							
							Add krb5_free_default_realm() to MIT glue  
						
						
						
						
					 
					
						2010-09-14 08:04:18 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						d4a80084f1 
					 
					
						
						
							
							Don't return a freed pointer in allocate_ccache()  
						
						
						
						
					 
					
						2010-09-14 08:04:17 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						fa4021698e 
					 
					
						
						
							
							Handle Windows pathnames properly in krb5_cc_resolve()  
						
						... 
						
						
						
						On Windows, a pathname can contain a drive letter and a colon.
krb5_cc_resolve() used to check whether there were any colons in the
ccache name string and assume it is a FILE: cache if there weren't.
In addition, on Windows, check for a drive specification. 
						
						
					 
					
						2010-09-14 08:04:17 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						91bfec3059 
					 
					
						
						
							
							Windows: Enable weak crypto by default  
						
						
						
						
					 
					
						2010-09-14 08:04:16 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						85f5f6bbda 
					 
					
						
						
							
							klist: If we aren't being verbose, we don't need the full ticket  
						
						
						
						
					 
					
						2010-09-14 08:04:15 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						a7ccfa0717 
					 
					
						
						
							
							Define KRB5_TC_NOTICKET  
						
						
						
						
					 
					
						2010-09-14 08:04:15 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						5c39c25c77 
					 
					
						
						
							
							Fix comment  
						
						
						
						
					 
					
						2010-09-14 08:04:14 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						c93c2c72be 
					 
					
						
						
							
							Additional MIT glue  
						
						... 
						
						
						
						Add compatible exports for:
krb5_auth_con_getsendsubkey()
krb5_auth_con_getrecvsubkey()
krb5_auth_con_setsendsubkey()
krb5_auth_con_setrecvsubkey() 
						
						
					 
					
						2010-09-14 08:04:14 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						ff9cb6572d 
					 
					
						
						
							
							Deal with NULL or empty input for expand_path_tokens()  
						
						... 
						
						
						
						_krb5_expand_path_tokens() should return an empty string if the input
string is empty or NULL, instead of always returning a NULL for these
two cases. 
						
						
					 
					
						2010-09-14 08:04:13 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						e8e56defaf 
					 
					
						
						
							
							Don't rely on non-CCAPI v3 exports  
						
						... 
						
						
						
						krb5_ipc_client_set_target_uid() and krb5_ipc_client_clear_target()
may not be present in CCAPI plug-in.  Don't rely on their existence. 
						
						
					 
					
						2010-09-14 08:04:12 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						ba02163f2e 
					 
					
						
						
							
							Windows: Don't ignore failure in test_addr from now on  
						
						
						
						
					 
					
						2010-09-14 08:04:12 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						9db9b146fb 
					 
					
						
						
							
							Windows: Add support for MSLSA: cache type using a plug-in  
						
						
						
						
					 
					
						2010-09-14 08:04:11 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						d6cf7e78e9 
					 
					
						
						
							
							Windows: Build thirdparty packages if there are any  
						
						
						
						
					 
					
						2010-09-14 08:04:10 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						4b8c523d28 
					 
					
						
						
							
							Fix line endings  
						
						
						
						
					 
					
						2010-09-14 08:04:10 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						e1136ba112 
					 
					
						
						
							
							Windows: Annotate symbols for libkadm5srv  
						
						
						
						
					 
					
						2010-09-14 08:03:40 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						48017d046a 
					 
					
						
						
							
							Windows: Build test binaries for kadm5  
						
						
						
						
					 
					
						2010-09-14 08:03:40 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						77c91f86a0 
					 
					
						
						
							
							Windows: Remove test_hdbkeys from test-run  
						
						... 
						
						
						
						test_hdbkeys is not a standalone test app. 
						
						
					 
					
						2010-09-14 08:03:39 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						fbbfbdda32 
					 
					
						
						
							
							Windows: Fix exports for libhdb  
						
						
						
						
					 
					
						2010-09-14 08:03:39 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						c372b0aa37 
					 
					
						
						
							
							Windows: Fix exports for libgssapi  
						
						
						
						
					 
					
						2010-09-14 08:03:38 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						96dadaaeff 
					 
					
						
						
							
							Windows: Decorate krb5_cc_copy_creds export definition  
						
						
						
						
					 
					
						2010-09-14 08:03:37 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						4925fb863c 
					 
					
						
						
							
							Address of an imported symbol is not always a constant  
						
						... 
						
						
						
						On Windows, the address of a symbol imported from a DLL is not
considered a constant.  Therefore, it can't be used to initialized
static data. 
						
						
					 
					
						2010-09-14 08:03:37 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						6d4ac563d5 
					 
					
						
						
							
							Windows: Build hxtool with the correct options  
						
						
						
						
					 
					
						2010-09-14 08:03:36 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						84c42b3592 
					 
					
						
						
							
							Windows: Regenerated libasn1-exports.def  
						
						... 
						
						
						
						Sorted and with data exports declared using DATA statements. 
						
						
					 
					
						2010-09-14 08:03:36 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						ed226d4241 
					 
					
						
						
							
							Declare ASN.1 exported data using ASN1EXP  
						
						
						
						
					 
					
						2010-09-14 08:03:35 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						55b0f00d5e 
					 
					
						
						
							
							Windows: Check for DATA symbols when scanning .obj files  
						
						... 
						
						
						
						The export symbol list for ASN.1 on Windows is generated by scanning
all the .obj files and extracting the symbols defined in them.  The
generated list did not specify which were functions and which were
data symbols.  This distinction is necessary for generating correct
import library stubs. 
						
						
					 
					
						2010-09-14 08:03:34 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						4b36b36e0b 
					 
					
						
						
							
							Add roken/rename.c to fix non-standard rename()  
						
						... 
						
						
						
						roken/rename.c is for platforms where the native rename()
implementation does not replace the target if it already exists.  This
implementation isn't atomic, but should be close enough for most
purposes.
For correct behavior, rk_rename() should be used instead of rename().
rk_rename() is #defined to be rename() on platforms where this fix is
not necessary. 
						
						
					 
					
						2010-09-14 08:03:34 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						6cc480fc09 
					 
					
						
						
							
							Additional tests cases for test_addr.c  
						
						... 
						
						
						
						On platform where we build our own inet_ntop(), exercise it a bit
more.  Specifically for zero string compression of IPv6 addresses. 
						
						
					 
					
						2010-09-14 08:03:33 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						7479c855a0 
					 
					
						
						
							
							Windows: Don't attempt to copy a string to a zero length buffer  
						
						... 
						
						
						
						It won't cause harm since strcpy_s() deals with zero length buffers,
but it invokes the invalid parameter handler, which can disrupt
execution on debug builds. 
						
						
					 
					
						2010-09-14 08:03:33 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						d4fc674024 
					 
					
						
						
							
							strlcat() isn't supposed to access *dst past dst_sz  
						
						... 
						
						
						
						Try not to do that on platforms where we can avoid it. 
						
						
					 
					
						2010-09-14 08:03:32 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						7e3bd7f9aa 
					 
					
						
						
							
							Windows: Fix use of file descriptors as sockets  
						
						... 
						
						
						
						Sockets and file descriptors are not interchangeable on Windows.  The
test for checking whether a given value is a socket or an FD was
broken for the case where WinSock was not initialized to begin with. 
						
						
					 
					
						2010-09-14 08:03:31 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						bd795255aa 
					 
					
						
						
							
							Fix fcc_remove_cred() on platforms with non-standard rename()  
						
						
						
						
					 
					
						2010-09-14 08:03:31 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						b74fa12602 
					 
					
						
						
							
							Windows: Have test binaries depend on built libraries  
						
						
						
						
					 
					
						2010-09-14 08:03:30 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						738e2ea55b 
					 
					
						
						
							
							Compress zeros when converting IPv6 addresses  
						
						... 
						
						
						
						libroken implementation of inet_ntop() was not compressing strings of
zeros.  While it is optional, not doing so was intefering with address
conversion tests in lib/krb5. 
						
						
					 
					
						2010-09-14 08:03:30 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						8a1fb91009 
					 
					
						
						
							
							Don't fail tests for unsupported rand methods  
						
						
						
						
					 
					
						2010-09-14 08:03:29 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						2ea71109d3 
					 
					
						
						
							
							Windows: Add missing exports to libhcrypto-exports.def  
						
						
						
						
					 
					
						2010-09-14 08:03:28 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						1e540dbf5c 
					 
					
						
						
							
							Windows: Fix dependencies for hcrypto/test_hmac.exe  
						
						
						
						
					 
					
						2010-09-14 08:03:28 -04:00 
						 
				 
			
				
					
						
							
							
								Asanka Herath 
							
						 
					 
					
						
						
							
						
						4c6cdf07c2 
					 
					
						
						
							
							Fix calling convention for asn1 tests  
						
						
						
						
					 
					
						2010-09-14 08:03:27 -04:00