commit | 561e574e2f6645327b8d535d3f9c6c4029b5a089 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@exceliance.fr> | Tue Oct 02 15:20:55 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 02 16:05:51 2012 +0200 |
tree | 8a8af1a1f7726080f2ba49562742ad3f1b653acf | |
parent | 90ad8727dda01b8541a0014535fb0b1bb2fa4342 [diff] |
BUG/MINOR: ssl: Fix CRL check was not enabled when crlfile was specified.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 07be3ea..8b62c0a 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c
@@ -519,6 +519,9 @@ curproxy->id, bind_conf->cafile, bind_conf->arg, bind_conf->file, bind_conf->line); cfgerr++; } + else { + X509_STORE_set_flags(store, X509_V_FLAG_CRL_CHECK|X509_V_FLAG_CRL_CHECK_ALL); + } } }