Refactor getters/setters for port and ipv6 properties

This commit is contained in:
Sergey Abramchuk
2017-04-24 15:56:35 +03:00
parent 9b35611783
commit 39701d0170
4 changed files with 66 additions and 63 deletions
+3 -2
View File
@@ -8,8 +8,6 @@
#import <Foundation/Foundation.h>
// TODO: Wrap ClientAPI::Config into Objective-C class
/**
Transport protocol options
*/
@@ -66,6 +64,9 @@ typedef NS_ENUM(NSInteger, OpenVPNMinTLSVersion) {
OpenVPNMinTLSVersionDefault
};
/**
Options of the tls-cert-profile setting
*/
typedef NS_ENUM(NSInteger, OpenVPNTLSCertProfile) {
/// Allow 1024-bit RSA certs signed with SHA1
OpenVPNTLSCertProfileLegacy,