Skip to content
Snippets Groups Projects
Commit 1f7d8620 authored by Bolke de Bruin's avatar Bolke de Bruin
Browse files

Debug

parent 6a7d99cb
Branches
Tags
No related merge requests found
...@@ -225,10 +225,10 @@ func (s *Server) handshakeRequest(data []byte) (major byte, minor byte, version ...@@ -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) { 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 caps = caps | HTTP_EXTENDED_AUTH_SC
} }
if s.TokenAuth && extAuth & HTTP_EXTENDED_AUTH_PAA == 1 { if s.TokenAuth {
caps = caps | HTTP_EXTENDED_AUTH_PAA caps = caps | HTTP_EXTENDED_AUTH_PAA
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment