Refactor getters/setters for min TLS version andTLS cert profile and rename class methods

This commit is contained in:
Sergey Abramchuk
2017-04-27 19:44:52 +03:00
parent 0025e4f8ac
commit 05cbfa5dad
3 changed files with 122 additions and 98 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
#import <openvpn/common/number.hpp>
#import "OpenVPNValuesConverter.h"
#import "OpenVPNConfiguration+Internal.h"
#import "OpenVPNServerEntry+Internal.h"
#import "OpenVPNProperties.h"
#import "OpenVPNProperties+Internal.h"
@@ -41,7 +41,7 @@ using namespace openvpn;
_remotePort = port;
NSString *currentProto = [NSString stringWithUTF8String:eval.remoteProto.c_str()];
_remoteProto = [OpenVPNPropertyConverter getTransportProtocolFromString:currentProto];
_remoteProto = [OpenVPNConfiguration getTransportProtocolFromValue:currentProto];
_servers = nil;
if (!eval.serverList.empty()) {