diff options
-rw-r--r-- | src/gmcerts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gmcerts.c b/src/gmcerts.c index addd75d3..6370057d 100644 --- a/src/gmcerts.c +++ b/src/gmcerts.c | |||
@@ -431,8 +431,7 @@ iGmIdentity *newIdentity_GmCerts(iGmCerts *d, int flags, iDate validUntil, const | |||
431 | const iString *email, const iString *userId, const iString *domain, | 431 | const iString *email, const iString *userId, const iString *domain, |
432 | const iString *org, const iString *country) { | 432 | const iString *org, const iString *country) { |
433 | const iTlsCertificateName names[] = { | 433 | const iTlsCertificateName names[] = { |
434 | { issuerCommonName_TlsCertificateNameType, collectNewCStr_String("Lagrange v" LAGRANGE_APP_VERSION) }, | 434 | { issuerCommonName_TlsCertificateNameType, commonName }, |
435 | { issuerDomain_TlsCertificateNameType, collectNewCStr_String("lagrange.skyjake.fi") }, | ||
436 | { subjectCommonName_TlsCertificateNameType, commonName }, | 435 | { subjectCommonName_TlsCertificateNameType, commonName }, |
437 | { subjectEmailAddress_TlsCertificateNameType, !isEmpty_String(email) ? email : NULL }, | 436 | { subjectEmailAddress_TlsCertificateNameType, !isEmpty_String(email) ? email : NULL }, |
438 | { subjectUserId_TlsCertificateNameType, !isEmpty_String(userId) ? userId : NULL }, | 437 | { subjectUserId_TlsCertificateNameType, !isEmpty_String(userId) ? userId : NULL }, |