mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Refactor getters/setters for min TLS version andTLS cert profile and rename class methods
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user