diff options
-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 |