Rename require_enc_timestamp to require_preauth
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2573 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -77,7 +77,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "hdb.h"
 | 
					#include "hdb.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern require_enc_timestamp;
 | 
					extern require_preauth;
 | 
				
			||||||
extern sig_atomic_t exit_flag;
 | 
					extern sig_atomic_t exit_flag;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern struct timeval now;
 | 
					extern struct timeval now;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -212,7 +212,7 @@ as_rep(krb5_context context,
 | 
				
			|||||||
	    }
 | 
						    }
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	/* XXX */
 | 
						/* XXX */
 | 
				
			||||||
	if(found_pa == 0 && require_enc_timestamp)
 | 
						if(found_pa == 0 && require_preauth)
 | 
				
			||||||
	    goto use_pa;
 | 
						    goto use_pa;
 | 
				
			||||||
	/* We come here if we found a pa-enc-timestamp, but if there
 | 
						/* We come here if we found a pa-enc-timestamp, but if there
 | 
				
			||||||
           was some problem with it, other than too large skew */
 | 
					           was some problem with it, other than too large skew */
 | 
				
			||||||
@@ -221,7 +221,7 @@ as_rep(krb5_context context,
 | 
				
			|||||||
	    e_text = NULL;
 | 
						    e_text = NULL;
 | 
				
			||||||
	    goto out;
 | 
						    goto out;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
    }else if (require_enc_timestamp) {
 | 
					    }else if (require_preauth) {
 | 
				
			||||||
	PA_DATA foo;
 | 
						PA_DATA foo;
 | 
				
			||||||
	u_char buf[16];
 | 
						u_char buf[16];
 | 
				
			||||||
	size_t len;
 | 
						size_t len;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user