mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-03 03:41:53 +08:00
fixed merge conflicts
This commit is contained in:
parent
8f984cb2c9
commit
7bca7b80e6
@ -402,5 +402,5 @@ void TLSOptions::init_plugin( std::string const& plugin_path ) {
|
||||
}
|
||||
|
||||
bool TLSOptions::enabled() {
|
||||
return !!policy;
|
||||
return !!policyVerifyPeersSet && !!policyVerifyPeersNotSet;
|
||||
}
|
||||
|
@ -97,12 +97,8 @@ struct TLSOptions : ReferenceCounted<TLSOptions> {
|
||||
|
||||
void register_network();
|
||||
|
||||
<<<<<<< HEAD
|
||||
Reference<ITLSPolicy> get_policy();
|
||||
bool enabled();
|
||||
=======
|
||||
Reference<ITLSPolicy> get_policy(PolicyType type);
|
||||
>>>>>>> release-5.2
|
||||
bool enabled();
|
||||
|
||||
private:
|
||||
void init_plugin( std::string const& plugin_path = "" );
|
||||
|
Loading…
x
Reference in New Issue
Block a user