mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-28 01:45:33 +00:00 
			
		
		
		
	Fix problem where name resolution was used instead of certificate subject to identify 'trusted' peer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -75,7 +75,7 @@ sub validate { | ||||
|   # check to see if peerhost is trusted | ||||
|   foreach $rule (@sortedpolicies) { | ||||
|       | ||||
|     if (($rule->{name} and (($rule->{name} eq $peerhost) || ($rule->{name} eq $peerhostorg)))  && ($rule->{rule}=~ /trusted/i)) { | ||||
|     if (($rule->{name} and $rule->{name} eq $peername)  && ($rule->{rule}=~ /trusted/i)) { | ||||
|      $peerstatus="Trusted"; | ||||
|      last; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user