Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						6c0db59f17 
					 
					
						
						
							
							Add hx509.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16818 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-27 00:17:03 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						fc8f1c4d7f 
					 
					
						
						
							
							x  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16817 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-27 00:08:31 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						d5ecf2d794 
					 
					
						
						
							
							Add libhx509.la when PKINIT is used.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16816 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-27 00:05:29 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						f024392e81 
					 
					
						
						
							
							Switch to hx509.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16814 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-26 23:55:17 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						c4c31576fe 
					 
					
						
						
							
							(_hx509_private_key_assign_key_file): ask for password if nothing matches.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16813 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-26 23:54:18 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						7542d311ee 
					 
					
						
						
							
							Expose more of the hx509_query interface.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16812 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-26 23:51:10 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						099a14e094 
					 
					
						
						
							
							hx509_certs_find is now exposed.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16811 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-26 23:49:04 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						a27d1186bf 
					 
					
						
						
							
							(hx509_certs_free): allow free-ing NULL  
						
						... 
						
						
						
						(hx509_certs_find): expose
(hx509_get_one_cert): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16810 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-26 23:43:37 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						12096c0f04 
					 
					
						
						
							
							Remove hx509_query, its exposed now.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16809 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-26 23:39:08 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						e0955cb5ba 
					 
					
						
						
							
							Add hx509_query.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16808 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-26 23:33:55 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						8c24e62151 
					 
					
						
						
							
							Rename id-pksan to id-pkinit-san  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16807 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-26 23:13:26 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						a113ec2ba4 
					 
					
						
						
							
							Add pkinit-san.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16806 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-26 23:12:54 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						a603f569c3 
					 
					
						
						
							
							(_krb5_pk_rd_pa_reply): pass down the req_buffer in the w2k case  
						
						... 
						
						
						
						too. From Douglas E. Engert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16801 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-23 17:19:14 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						5a9da5632c 
					 
					
						
						
							
							(_krb5_mk_req_internal): Indent and remove unused code block.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16798 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-19 20:33:13 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						4740e4a03a 
					 
					
						
						
							
							(_krb5_mk_req_internal): on failure, goto error handling.  
						
						... 
						
						
						
						Fixes Coverity NetBSD CID 2591 by catching a failing krb5_copy_keyblock()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16797 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-19 20:30:34 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						4e8e0a32a2 
					 
					
						
						
							
							(krb5_rd_priv): reset outdata before returning error or success  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16796 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-18 22:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						ddaa580f35 
					 
					
						
						
							
							(krb5_rd_safe): reset outdata before returning error or success  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16795 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-18 22:15:28 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						544071b438 
					 
					
						
						
							
							(krb5_read_message): reset out data before return error or success,  
						
						... 
						
						
						
						fixes many Coverity bugs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16794 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-18 22:13:45 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						08687cb067 
					 
					
						
						
							
							(krb5_free_addresses): reset val,len in address when free-ing.  
						
						... 
						
						
						
						Fixes Coverity NetBSD bug #2605 
(krb5_parse_address): reset val,len before possibly return errors
Fixes Coverity NetBSD bug #2605 
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16793 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-17 22:12:13 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						a1143ef753 
					 
					
						
						
							
							x  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16792 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-08 12:30:54 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						5be7181d53 
					 
					
						
						
							
							(init_generate): Nothing in the generated files needs timegm(), so no  
						
						... 
						
						
						
						need to provide a prototype for it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16791 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-08 12:29:34 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						e1bd6f1007 
					 
					
						
						
							
							(recv_loop): it should never happen, but make sure nbytes > 0  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16789 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-07 19:39:59 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						ac1c623242 
					 
					
						
						
							
							(add_addrs): handle the case where addr->len == 0 and n == 0, then  
						
						... 
						
						
						
						realloc might return NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16788 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-07 19:38:09 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						203072d917 
					 
					
						
						
							
							(decrypt_*): handle the case where the plaintext is 0 bytes long,  
						
						... 
						
						
						
						realloc might then return NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16787 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-07 19:34:55 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						2b07dd8731 
					 
					
						
						
							
							x  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16786 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-07 09:28:20 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						337cf04f82 
					 
					
						
						
							
							EVP interface depends on dlopen, add it to LIBFLAGS  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16785 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-07 09:28:00 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						cd53d482ff 
					 
					
						
						
							
							x  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16784 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-03-06 12:54:07 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						5cca9c04e6 
					 
					
						
						
							
							Drop krb5_string_to_key_derived.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16783 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-28 15:02:37 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						b9b27743b2 
					 
					
						
						
							
							Remove krb5_string_to_key_derived.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16782 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-28 15:01:22 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						d86be025ae 
					 
					
						
						
							
							(AES_string_to_key): drop _krb5_PKCS5_PBKDF2 and use PKCS5_PBKDF2_HMAC_SHA1  
						
						... 
						
						
						
						instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16781 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-28 14:52:57 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						cbd4c81a98 
					 
					
						
						
							
							reformat, avoid free-ing un-init'd memory  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16780 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-28 14:51:39 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						6e877e22b1 
					 
					
						
						
							
							Only use PKCS5_PBKDF2_HMAC_SHA1.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16779 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-28 14:43:27 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						cd9b9cb29f 
					 
					
						
						
							
							x  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16778 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-28 14:19:48 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						152e551c29 
					 
					
						
						
							
							Add pkcs5 files.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16777 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-28 14:19:00 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						3e6b1b43a3 
					 
					
						
						
							
							Testcases for pkcs5 pbe2.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16776 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-28 14:18:20 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						64332f3462 
					 
					
						
						
							
							(PKCS5_PBKDF2_HMAC_SHA1): new function.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16775 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-28 14:17:25 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						551b1a36fc 
					 
					
						
						
							
							Digest key when it exceeds block size, not when it exceeds the size of  
						
						... 
						
						
						
						the output block.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16774 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-28 14:11:21 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						d8486beab5 
					 
					
						
						
							
							Add exceptions for null (empty) subjectNames  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16762 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-22 15:14:00 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						d8636d8a66 
					 
					
						
						
							
							Add some more name constraints tests.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16761 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-22 15:10:21 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						47ff6b5f81 
					 
					
						
						
							
							x  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16760 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-22 13:12:32 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						19b22db4e2 
					 
					
						
						
							
							Add some of the test from 4.13 Name Constraints.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16759 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-22 13:12:13 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						e66a73adce 
					 
					
						
						
							
							x  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16758 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-22 13:11:44 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						f07a60cae0 
					 
					
						
						
							
							Name constraits needs to be evaluated in block as they appear in the  
						
						... 
						
						
						
						certificates, they can not be joined to one list. One example of this is:
* cert is cn=foo,dc=bar,dc=baz
* subca is  dc=foo,dc=baz with name restriction dc=kaka,dc=baz
* ca is  dc=baz with name restriction dc=baz
If the name restrictions are merged to a list, the certificate will
pass this test.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16757 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-22 13:11:05 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						a1cba64cac 
					 
					
						
						
							
							Document that applications want to use krb5_get_error_message, add example.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16751 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-18 10:00:59 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						d339f27552 
					 
					
						
						
							
							x  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16750 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-16 10:38:47 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						cbe9276ad4 
					 
					
						
						
							
							(RAND_bytes): Don't abort() on failure, return error.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16749 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-16 10:11:44 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						5cebb7986f 
					 
					
						
						
							
							(krb5_generate_random_block): check return value from RAND_bytes  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16748 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-16 10:10:59 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						a2cdaa4cb6 
					 
					
						
						
							
							(BN_rand): check return value from RAND_bytes  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16747 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-16 10:08:34 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						e4531fd61d 
					 
					
						
						
							
							Change indentation, update (c)  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16746 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-16 07:49:23 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						1662652a84 
					 
					
						
						
							
							x  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16745 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2006-02-15 12:00:22 +00:00