mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-22 08:10:49 +02:00
Debug
This commit is contained in:
parent
6a7d99cbba
commit
1f7d8620d9
1 changed files with 2 additions and 2 deletions
|
@ -225,10 +225,10 @@ func (s *Server) handshakeRequest(data []byte) (major byte, minor byte, version
|
|||
}
|
||||
|
||||
func (s *Server) matchAuth(extAuth uint16) (caps uint16, err error) {
|
||||
if s.SmartCardAuth && extAuth & HTTP_EXTENDED_AUTH_SC == 1 {
|
||||
if s.SmartCardAuth {
|
||||
caps = caps | HTTP_EXTENDED_AUTH_SC
|
||||
}
|
||||
if s.TokenAuth && extAuth & HTTP_EXTENDED_AUTH_PAA == 1 {
|
||||
if s.TokenAuth {
|
||||
caps = caps | HTTP_EXTENDED_AUTH_PAA
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue