| 
					
				 | 
			
			
				@@ -1519,18 +1519,12 @@ dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   vi = get_voter(vote); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   tor_assert(vi->good_signature == 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   ds = trusteddirserver_get_by_v3_auth_digest(vi->identity_digest); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (!ds || !(ds->type & V3_AUTHORITY)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (!ds) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     char *keys = list_v3_auth_ids(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     log_warn(LD_DIR, "Got a vote from an authority with authority key ID %s. " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             "This authority %s.  Known v3 key IDs are: %s", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             hex_str(vi->identity_digest, DIGEST_LEN), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             ds?"is not recognized":"is recognized, but is not listed as v3", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-/* XXX020 isn't the above line backwards? -RD */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-/* In fact, how can ds->v3_identity_digest be set if it's not a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- * V3_AUTHORITY? */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             keys); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             "This key ID is not recognized.  Known v3 key IDs are: %s", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             hex_str(vi->identity_digest, DIGEST_LEN), keys); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     tor_free(keys); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     *msg_out = "Vote not from a recognized v3 authority"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     goto err; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 |