summaryrefslogtreecommitdiff
path: root/src/gmcerts.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-11-08 13:45:51 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-11-08 13:45:51 +0200
commitbb53ff49396cae88836ff391fd20589a687ae83f (patch)
treeaadc25a24ed2e12809298791f4566d7e1ecfb770 /src/gmcerts.h
parentc0280998be065ab075581e46c52c6cc27e4b21a9 (diff)
Manually trusting a server certificate
Diffstat (limited to 'src/gmcerts.h')
-rw-r--r--src/gmcerts.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gmcerts.h b/src/gmcerts.h
index f0ed37b5..2fd1023a 100644
--- a/src/gmcerts.h
+++ b/src/gmcerts.h
@@ -60,7 +60,8 @@ iDeclareTypeConstructionArgs(GmCerts, const char *saveDir)
60typedef iBool (*iGmCertsIdentityFilterFunc)(void *context, const iGmIdentity *); 60typedef iBool (*iGmCertsIdentityFilterFunc)(void *context, const iGmIdentity *);
61 61
62iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, const iTlsCertificate *cert); 62iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, const iTlsCertificate *cert);
63 63void setTrusted_GmCerts (iGmCerts *, iRangecc domain, const iBlock *fingerprint,
64 const iDate *validUntil);
64/** 65/**
65 * Create a new self-signed TLS client certificate for identifying the user. 66 * Create a new self-signed TLS client certificate for identifying the user.
66 * @a commonName and the other name parameters are inserted in the subject field 67 * @a commonName and the other name parameters are inserted in the subject field