Avoid appearance of if if else ambiguity
This commit is contained in:
		 Viktor Dukhovni
					Viktor Dukhovni
				
			
				
					committed by
					
						 Viktor Dukhovni
						Viktor Dukhovni
					
				
			
			
				
	
			
			
			 Viktor Dukhovni
						Viktor Dukhovni
					
				
			
						parent
						
							d75e74b2d7
						
					
				
				
					commit
					6501ba7e95
				
			| @@ -1130,11 +1130,12 @@ get_princ_kt(krb5_context context, | ||||
|     } | ||||
|     if (ret != 0 || (ret = krb5_kt_end_seq_get(context, kt, &cursor)) != 0) | ||||
| 	krb5_err(context, 1, ret, "get_princ_kt"); | ||||
|     if (!*principal) | ||||
|     if (!*principal) { | ||||
| 	if (name) | ||||
| 	    parse_name_realm(context, name, 0, NULL, principal); | ||||
| 	else | ||||
| 	    krb5_err(context, 1, KRB5_CC_NOTFOUND, "get_princ_kt"); | ||||
|     } | ||||
|  | ||||
|     krb5_free_principal(context, tmp); | ||||
|     free(def_realm); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user