diff options
Diffstat (limited to 'src/gmrequest.c')
-rw-r--r-- | src/gmrequest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c index 0208dc94..ea0a2d80 100644 --- a/src/gmrequest.c +++ b/src/gmrequest.c | |||
@@ -163,6 +163,9 @@ static void checkServerCertificate_GmRequest_(iGmRequest *d) { | |||
163 | if (checkTrust_GmCerts(d->certs, domain, cert)) { | 163 | if (checkTrust_GmCerts(d->certs, domain, cert)) { |
164 | resp->certFlags |= trusted_GmCertFlag; | 164 | resp->certFlags |= trusted_GmCertFlag; |
165 | } | 165 | } |
166 | if (verify_TlsCertificate(cert) == authority_TlsCertificateVerifyStatus) { | ||
167 | resp->certFlags |= authorityVerified_GmCertFlag; | ||
168 | } | ||
166 | validUntil_TlsCertificate(cert, &resp->certValidUntil); | 169 | validUntil_TlsCertificate(cert, &resp->certValidUntil); |
167 | set_String(&resp->certSubject, collect_String(subject_TlsCertificate(cert))); | 170 | set_String(&resp->certSubject, collect_String(subject_TlsCertificate(cert))); |
168 | } | 171 | } |