Obtains the negotiated protocol version of the active session.
- iOS 5.0+
- macOS 10.2+
- tvOS 9.0+
- watchOS 2.0+
An SSL session context reference.
On return, points to the negotiated protocol version of the active session. The value is set to
kif no SSL session is in progress.
A result code. See Secure Transport Result Codes.
This function retrieves the version of the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocol negotiated for the session. Note that the negotiated protocol may not be the same as your preferred protocol, depending on which protocol versions you enabled with the
SSLSet function. This function can return any of the following values: