diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2009-03-23 11:19:10 +0100 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2009-03-23 11:19:10 +0100 |
commit | 61e4bea338ff3127fe5a315adadc25648329b602 (patch) | |
tree | 12ad4a087179fabbf5aa85d675a9486bd63cbdfb /eurephiadm | |
parent | d7cec384507000d13697cee7372f304928d85623 (diff) | |
download | eurephia-61e4bea338ff3127fe5a315adadc25648329b602.tar.gz eurephia-61e4bea338ff3127fe5a315adadc25648329b602.tar.xz eurephia-61e4bea338ff3127fe5a315adadc25648329b602.zip |
BUGFIX: eurephiadm could not register certificates
In commit 3c35318429e33c98c2d7fac8943dfc6ff40359c7 the field
mapping was simplified for some fields, but the XML document
used for registering certificates was never updated to reflect
these chanages.
Diffstat (limited to 'eurephiadm')
-rw-r--r-- | eurephiadm/commands/certificates.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eurephiadm/commands/certificates.c b/eurephiadm/commands/certificates.c index a75e946..1b20db8 100644 --- a/eurephiadm/commands/certificates.c +++ b/eurephiadm/commands/certificates.c @@ -229,8 +229,8 @@ int register_certificate(eurephiaCTX *ctx, int depth, const char *digest, xmlNewChild(cert_n, NULL, (xmlChar *) "depth", (xmlChar *) tmp); xmlNewChild(cert_n, NULL, (xmlChar *) "digest", (xmlChar *) digest); - xmlNewChild(cert_n, NULL, (xmlChar *) "common_name", (xmlChar *) cname_cp); - xmlNewChild(cert_n, NULL, (xmlChar *) "organisation", (xmlChar *) org_cp); + xmlNewChild(cert_n, NULL, (xmlChar *) "cname", (xmlChar *) cname_cp); + xmlNewChild(cert_n, NULL, (xmlChar *) "org", (xmlChar *) org_cp); xmlNewChild(cert_n, NULL, (xmlChar *) "email", (xmlChar *) email); // Register the certificate |