Originally ssl-sysmodule just wrote the input field to state. With newer sysvers there's now validation for the input.
==== SetIoMode ====
==== SetIoMode ====
Line 421:
Line 419:
= VerifyOption =
= VerifyOption =
−
This is the "nn::ssl::sf::VerifyOption" enum.
+
This is the "nn::ssl::sf::VerifyOption" enum. This is a bitmask.
+
+
Originally ssl-sysmodule ([[#SetVerifyOption]]) just wrote the input field to state. With newer sysvers there's now validation for the input, with the value written to state masked with 0x3F. When [[#SetInterfaceVersion|InterfaceVersion]] is >=0x2, the low 2-bits of VerifyOption must be set, unless a state flag is set or {bool [[#SetDebugOption|DebugOption]] state flag]} is set, otherwise an error is thrown. Following that, if VerifyOption bit4 is set, then VerifyOption & 0x15 must match 0x15 otherwise an error is thrown.