Gets the SSL protocol version.
Deprecated
Use SSLGet
and/or SSLGet
to check whether a protocol is enabled.
SDK
- macOS 10.2–10.8Deprecated
Framework
- Security
Declaration
OSStatus SSLGetProtocolVersion(SSLContext Ref context, SSLProtocol *protocol);
Parameters
context
An SSL session context reference.
protocol
On return, a pointer to the SSL protocol version.
Return Value
A result code. See Secure Transport Result Codes.