SSLGetProtocolVersionMax(_:_:)
Gets the maximum protocol version allowed by the application for a given SSL context.
Declaration
func SSLGetProtocolVersionMax(_ context: SSLContext, _ maxVersion: UnsafeMutablePointer<SSLProtocol>) -> OSStatusParameters
- context:
The SSL context associated with the connection.
- maxVersion:
The address of an Sslprotocol integer where the maximum version should be stored. See Sslprotocol for a list of possible values.
Return Value
A result code. See Secure Transport Result Codes.