diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-23 16:08:42 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-23 16:10:05 +0300 |
commit | 51dc5b1ef584a9aa214c518101b951f1745a6fc9 (patch) | |
tree | b904890f57bbf7e4412fd51cef8682cf37657663 /src/gmcerts.c | |
parent | 3b31ab31eb52578693acee07fdcf84fbeff72707 (diff) |
Added an identity creation dialog
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(); |