BUG/MINOR: ssl: Fix CRL check was not enabled when crlfile was specified.

This commit is contained in:
Emeric Brun 2012-10-02 15:20:55 +02:00 committed by Willy Tarreau
parent 90ad8727dd
commit 561e574e2f

View File

@ -519,6 +519,9 @@ int ssl_sock_prepare_ctx(struct bind_conf *bind_conf, SSL_CTX *ctx, struct proxy
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);
}
}
}