alexbrainman / sspi

Windows SSPI
BSD 3-Clause "New" or "Revised" License
84 stars 27 forks source link

Add SSPI context flag validation functions #7

Closed enj closed 6 years ago

enj commented 6 years ago

This change adds two verification functions for SSPI context: VerifyFlags and VerifySelectiveFlags. The former is used to confirm that all flags requested for the context were honored. The latter is used to confirm if some subset of the requested flags were honored.

Signed-off-by: Monis Khan mkhan@redhat.com

enj commented 6 years ago

@alexbrainman PTAL

alexbrainman commented 6 years ago

This looks nice, thank you very much. But it would be useful for me and other users, if you could add calls to your new function in any of our existing tests. Is that possible?

Alex

enj commented 6 years ago

add calls to your new function in any of our existing tests

I will look into this sometime this week.

enj commented 6 years ago

@alexbrainman PTAL at 9b3b8246051e3112e3effe73594ccc123a924421

alexbrainman commented 6 years ago

Nice, thank you very much. Please, squash all commits into one, and I will merge.

Alex

enj commented 6 years ago

@alexbrainman squashed into one commit and rebased on master.

alexbrainman commented 6 years ago

Thank you very much. Submitting now.

Alex