corrected typo

This commit is contained in:
Nikos Mavrogiannopoulos
2013-12-09 19:56:50 +01:00
parent e2c5db109e
commit e367acc41d

View File

@@ -305,7 +305,7 @@ static int check_user_group_status(main_server_st *s, struct proc_st* proc,
int tls_auth_ok, const char* cert_user, const char* cert_group)
{
if (s->config->auth_types & AUTH_TYPE_CERTIFICATE) {
if (tls_auth_ok == 0 && config->force_cert_auth != 0) {
if (tls_auth_ok == 0 && s->config->force_cert_auth != 0) {
mslog(s, proc, LOG_INFO, "user '%s' presented no certificate", proc->username);
return -1;
}