|
From: | shishi-commit |
Subject: | Fix etype. |
Date: | Fri, 12 Dec 2003 00:38:48 +0100 |
Commit from jas | 2003-12-12 00:38 CET |
Fix etype.
Module | File name | Revision | |||
---|---|---|---|---|---|
shishi | src/shisa.c | 1.27 | >>> | 1.28 |
shishi/src/shisa.c 1.27 >>> 1.28 |
---|
Line 81 |
free (p); } |
+ void + print3field (const char *fieldname, const char *text, uint32_t num) + { + char *p; + asprintf (&p, "%s (0x%x, %d)", text, num, num); + printfield (fieldname, p); + free (p); + } + |
int dumplist_realm_principal (const char *realm, const char *principal) { |
Line 136 |
{ printuint32field ("Key", i); |
- printuint32field ("\tEtype", keys[i]->etype); |
+ print3field ("\tEtype", shishi_cipher_name (keys[i]->etype), + keys[i]->etype); |
if (args_info.keys_given) { Shishi_key *key; |
[Prev in Thread] | Current Thread | [Next in Thread] |