aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gnutls_hooks.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c
index e671a60..9ac17a0 100644
--- a/src/gnutls_hooks.c
+++ b/src/gnutls_hooks.c
@@ -1109,11 +1109,13 @@ static int mgs_cert_verify(request_rec * r, mgs_handle_t * ctxt)
1109 expired = 1; 1109 expired = 1;
1110 } 1110 }
1111 1111
1112 if (expiration_time < cur_time) { 1112 if (gnutls_certificate_type_get( ctxt->session) != GNUTLS_CRT_OPENPGP || expiration_time != 0) {
1113 ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, 1113 if (expiration_time < cur_time) {
1114 ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
1114 "GnuTLS: Failed to Verify Peer: " 1115 "GnuTLS: Failed to Verify Peer: "
1115 "Peer Certificate is expired."); 1116 "Peer Certificate is expired.");
1116 expired = 1; 1117 expired = 1;
1118 }
1117 } 1119 }
1118 1120
1119 if (status & GNUTLS_CERT_SIGNER_NOT_FOUND) { 1121 if (status & GNUTLS_CERT_SIGNER_NOT_FOUND) {
tr class='logheader'>* fixes for pre-0.1.0Gravatar Paul Querna 2005-04-06 | * working on a release.. really!Gravatar Paul Querna 2005-04-06 | * - remove anno credsGravatar Paul Querna 2005-04-06 | | | | | | | | - initial attempt at Server Name Extension - change to adding 'mod_gnutls' to the server sig instead of GnuTLS/ - fix for EOF/EOC/EOS buckets - 'general' code cleanups * checkpoint the work so far. The DBM cache needs a little more work.Gravatar Paul Querna 2005-04-05 | * - make memcahe optionalGravatar Paul Querna 2005-04-04 | | | | | | - update for 2.1.x branch changes. - some mucking around with the conf stuff * make this a generated fileGravatar Paul Querna 2005-04-04 | * updated header.Gravatar Paul Querna 2005-04-04 | * use apr to parse hostnames..Gravatar Paul Querna 2004-12-12 | * working support for a ssl session cache via memcached.Gravatar Paul Querna 2004-12-10 | * add check for apr_memcacheGravatar Paul Querna 2004-12-09 | * fixes and stuff that i should of already committed.Gravatar Paul Querna 2004-12-09 | * re-order the cipher types.Gravatar Paul Querna 2004-12-06 | | | | | Add a fixups hook and some Basic Env vars * setting proper ignores.Gravatar Paul Querna 2004-12-02 | | | | | | | adding an empty cache files trying to fix >16kb writes. * adding autofoo for memcache supportGravatar Paul Querna 2004-12-02 | * go go NOTICE fileGravatar Paul Querna 2004-12-02 | * hey hey, this is working code!Gravatar Paul Querna 2004-12-02 | * input and output filtersGravatar Paul Querna 2004-09-28 | * rename structures.Gravatar Paul Querna 2004-09-27 | | | | | | properly prefix all non-static functions with mod_gnutls_ fix build for GnuTLS 1.0.X. (redefine the changed structure names) * break up the IO functions into their own fileGravatar Paul Querna 2004-09-27 | * commit before i move everything aroundGravatar Paul Querna 2004-09-27 | * updated