SSL services: Difference between revisions
No edit summary |
|||
Line 423: | Line 423: | ||
This is the "nn::ssl::sf::VerifyOption" enum. This is a bitmask. | 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 | 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 {allowed bitmask}. When [[#SetInterfaceVersion|InterfaceVersion]] is >=0x2, the low 2-bits of VerifyOption must be set, unless {state flag for [[#OptionType]] value 2} is set or [?+] {bool [[#SetDebugOption|DebugOption]] state flag} is set, otherwise an error is thrown. [6.0.0+]: Following that, if VerifyOption bit4 is set, then VerifyOption & 0x15 must match 0x15 otherwise an error is thrown. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 438: | Line 438: | ||
| 3 || | | 3 || | ||
|- | |- | ||
| 4 || | | 4 || [6.0.0+] | ||
|- | |- | ||
| 5 || | | 5 || [6.0.0+] | ||
|} | |} | ||