summaryrefslogtreecommitdiffstats
path: root/eurephiadm
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-12-21 01:57:45 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-12-21 01:57:45 +0100
commit82e9f56cc06ae751a2f34b250d07089b08c147f4 (patch)
tree07aed8475420dce43de06f39cbd230563443602a /eurephiadm
parent19acfe4bed0cdab293a6882f79c3b4d61a9e1a68 (diff)
downloadeurephia-82e9f56cc06ae751a2f34b250d07089b08c147f4.tar.gz
eurephia-82e9f56cc06ae751a2f34b250d07089b08c147f4.tar.xz
eurephia-82e9f56cc06ae751a2f34b250d07089b08c147f4.zip
Adjusted the usage of xmlPrint_certs to comply with recent API changes
Diffstat (limited to 'eurephiadm')
-rw-r--r--eurephiadm/commands/users.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/eurephiadm/commands/users.c b/eurephiadm/commands/users.c
index 7b84df5..26d5eb7 100644
--- a/eurephiadm/commands/users.c
+++ b/eurephiadm/commands/users.c
@@ -49,8 +49,10 @@
#include "../field_print.h"
// Reuse code which is in certificats.c
-void xmlPrint_certs(xmlXPathContext *certsXP, const char *xpath);
+#define SHOWCERTS_FIREWALL 0x001
+#define SHOWCERTS_DIGEST 0x002
+void xmlPrint_certs(xmlXPathContext *certsXP, const char *xpath, int show_flags);
void display_users_help(int page) {
printf("\n%s -- Administer user accounts\n\n", MODULE);
@@ -455,7 +457,7 @@ int show_user(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int
// Show associated certificates if we was asked to show this info
if( show_info & USERINFO_certs ) {
- xmlPrint_certs(user_XP, "/eurephia/user/certificates/certificate");
+ xmlPrint_certs(user_XP, "/eurephia/user/certificates/certificate", SHOWCERTS_FIREWALL);
}
if( show_info & USERINFO_lastlog ) {