mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Corrected certificate authentication.
This commit is contained in:
@@ -437,6 +437,13 @@ int handle_commands(main_server_st *s, struct proc_st* proc)
|
||||
return ret;
|
||||
}
|
||||
break; /* wait for another command */
|
||||
} else if (ret == 0) {
|
||||
ret = accept_user(s, proc, cmd);
|
||||
if (ret < 0) {
|
||||
goto cleanup;
|
||||
}
|
||||
proc->auth_status = PS_AUTH_COMPLETED;
|
||||
goto cleanup;
|
||||
} else if (ret < 0) {
|
||||
add_to_ip_ban_list(s, &proc->remote_addr, proc->remote_addr_len);
|
||||
goto cleanup;
|
||||
|
||||
Reference in New Issue
Block a user