Add kvno for all keys to kadmin's get command's output
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
		 Nicolas Williams
					Nicolas Williams
				
			
				
					committed by
					
						 Love Hornquist Astrand
						Love Hornquist Astrand
					
				
			
			
				
	
			
			
			 Love Hornquist Astrand
						Love Hornquist Astrand
					
				
			
						parent
						
							901e6ff816
						
					
				
				
					commit
					b6f4094cfe
				
			| @@ -154,8 +154,11 @@ format_keytype(krb5_key_data *k, krb5_salt *def_salt, char *buf, size_t buf_len) | ||||
| 		  (char *)k->key_data_contents[1]); | ||||
|     strlcat(buf, s, buf_len); | ||||
|     free(s); | ||||
|  | ||||
|     asprintf (&s, "[%d]", k->key_data_kvno); | ||||
|     strlcat(buf, ")", buf_len); | ||||
|  | ||||
|     strlcat(buf, s, buf_len); | ||||
|     free(s); | ||||
| } | ||||
|  | ||||
| static void | ||||
|   | ||||
		Reference in New Issue
	
	Block a user