diff options
Diffstat (limited to 'src/gmcerts.c')
-rw-r--r-- | src/gmcerts.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gmcerts.c b/src/gmcerts.c index cc7e9702..2600b4cf 100644 --- a/src/gmcerts.c +++ b/src/gmcerts.c | |||
@@ -384,10 +384,11 @@ iGmIdentity *newIdentity_GmCerts(iGmCerts *d, int flags, iDate validUntil, const | |||
384 | const iString *userId, const iString *org, | 384 | const iString *userId, const iString *org, |
385 | const iString *country) { | 385 | const iString *country) { |
386 | const iTlsCertificateName names[] = { | 386 | const iTlsCertificateName names[] = { |
387 | { subjectCommonName_TlsCertificateNameType, commonName }, | 387 | { issuerCommonName_TlsCertificateNameType, collectNewCStr_String("fi.skyjake.Lagrange") }, |
388 | { subjectUserId_TlsCertificateNameType, userId }, | 388 | { subjectCommonName_TlsCertificateNameType, commonName }, |
389 | { subjectOrganization_TlsCertificateNameType, org }, | 389 | { subjectUserId_TlsCertificateNameType, userId }, |
390 | { subjectCountry_TlsCertificateNameType, country }, | 390 | { subjectOrganization_TlsCertificateNameType, org }, |
391 | { subjectCountry_TlsCertificateNameType, country }, | ||
391 | { 0, NULL } | 392 | { 0, NULL } |
392 | }; | 393 | }; |
393 | iGmIdentity *id = new_GmIdentity(); | 394 | iGmIdentity *id = new_GmIdentity(); |