diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-08-10 14:52:17 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-08-10 14:52:17 +0300 |
commit | f17cca7b459d60665941c33832e85e60593baa30 (patch) | |
tree | d520fd84ba5b25f1a33a2910d030b4e4aa646816 | |
parent | a37ab120b5091404c7841c39dd8c35dccd42e957 (diff) |
Cleanup
-rw-r--r-- | src/gmcerts.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gmcerts.h b/src/gmcerts.h index 1a9480f7..02a41c14 100644 --- a/src/gmcerts.h +++ b/src/gmcerts.h | |||
@@ -60,9 +60,10 @@ iDeclareTypeConstructionArgs(GmCerts, const char *saveDir) | |||
60 | 60 | ||
61 | typedef iBool (*iGmCertsIdentityFilterFunc)(void *context, const iGmIdentity *); | 61 | typedef iBool (*iGmCertsIdentityFilterFunc)(void *context, const iGmIdentity *); |
62 | 62 | ||
63 | iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, uint16_t port, const iTlsCertificate *cert); | 63 | iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, uint16_t port, |
64 | void setTrusted_GmCerts (iGmCerts *, iRangecc domain, uint16_t port, const iBlock *fingerprint, | 64 | const iTlsCertificate *cert); |
65 | const iDate *validUntil); | 65 | void setTrusted_GmCerts (iGmCerts *, iRangecc domain, uint16_t port, |
66 | const iBlock *fingerprint, const iDate *validUntil); | ||
66 | iTime domainValidUntil_GmCerts(const iGmCerts *, iRangecc domain, uint16_t port); | 67 | iTime domainValidUntil_GmCerts(const iGmCerts *, iRangecc domain, uint16_t port); |
67 | 68 | ||
68 | /** | 69 | /** |
@@ -81,7 +82,8 @@ iGmIdentity * newIdentity_GmCerts (iGmCerts *, int flags, iDate validU | |||
81 | const iString *userId, const iString *domain, | 82 | const iString *userId, const iString *domain, |
82 | const iString *org, const iString *country); | 83 | const iString *org, const iString *country); |
83 | 84 | ||
84 | void importIdentity_GmCerts (iGmCerts *, iTlsCertificate *cert, const iString *notes); /* takes ownership */ | 85 | void importIdentity_GmCerts (iGmCerts *, iTlsCertificate *cert, |
86 | const iString *notes); /* takes ownership */ | ||
85 | void deleteIdentity_GmCerts (iGmCerts *, iGmIdentity *identity); | 87 | void deleteIdentity_GmCerts (iGmCerts *, iGmIdentity *identity); |
86 | void saveIdentities_GmCerts (const iGmCerts *); | 88 | void saveIdentities_GmCerts (const iGmCerts *); |
87 | 89 | ||