mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-27 22:46:37 +00:00
Debug
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user