diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-17 08:59:20 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-17 08:59:20 +0300 |
commit | 7e536572b602cba180ad4e85bd9c071479f6fa22 (patch) | |
tree | 6684609ee55ace94b3a65a48667f6c13a5cb12db /src/gmrequest.h | |
parent | 49656e357eb9741e8d44ae01d96268312e6fdc83 (diff) |
GmDocument: Link scheme flags
A better way to keep track of the scheme used in a link.
Diffstat (limited to 'src/gmrequest.h')
-rw-r--r-- | src/gmrequest.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gmrequest.h b/src/gmrequest.h index 48b672ef..2b1f1bdd 100644 --- a/src/gmrequest.h +++ b/src/gmrequest.h | |||
@@ -31,11 +31,11 @@ iDeclareType(GmCerts) | |||
31 | iDeclareType(GmResponse) | 31 | iDeclareType(GmResponse) |
32 | 32 | ||
33 | enum iGmCertFlag { | 33 | enum iGmCertFlag { |
34 | available_GmCertFlag = iBit(1), /* certificate provided by server */ | 34 | available_GmCertFlag = iBit(1), /* certificate provided by server */ |
35 | trusted_GmCertFlag = iBit(2), /* TOFU status */ | 35 | trusted_GmCertFlag = iBit(2), /* TOFU status */ |
36 | timeVerified_GmCertFlag = iBit(3), /* has not expired */ | 36 | timeVerified_GmCertFlag = iBit(3), /* has not expired */ |
37 | domainVerified_GmCertFlag = iBit(4), /* cert matches server domain */ | 37 | domainVerified_GmCertFlag = iBit(4), /* cert matches server domain */ |
38 | haveFingerprint_GmCertFlag = iBit(5), | 38 | haveFingerprint_GmCertFlag = iBit(5), |
39 | authorityVerified_GmCertFlag = iBit(6), | 39 | authorityVerified_GmCertFlag = iBit(6), |
40 | }; | 40 | }; |
41 | 41 | ||