summaryrefslogtreecommitdiff
path: root/src/test/test_switch_id.c
AgeCommit message (Collapse)Author
2017-09-15Run our #else/#endif annotator on our source code.Nick Mathewson
2017-05-19mingw fix: avoid "unused var" warning.Nick Mathewson
2017-03-15Run the copyright update script.Nick Mathewson
2016-02-27Update the copyright year.Nick Mathewson
2015-12-17Fix unused variable errorscypherpunks
2015-12-17Return 77 means "skipped"Nick Mathewson
2015-12-17Conform to the type signature of setsockopt(2)cypherpunks
According to the POSIX standard the option value is a pointer to void and the option length a socklen_t. The Windows implementation makes the option value be a pointer to character and the option length an int. Casting the option value to a pointer to void conforms to the POSIX standard while the implicit cast to a pointer to character conforms to the Windows implementation. The casts of the option length to the socklen_t data type conforms to the POSIX standard. The socklen_t data type is actually an alias of an int so it also conforms to the Windows implementation.
2015-12-17Use a Windows specific socket error codecypherpunks
2015-12-17Do not run switch_id test on Windowscypherpunks
2015-12-15Add unit tests for switch_id(), including tests for capabilitiesNick Mathewson