diff options
| author | Nils Maier <maierman@web.de> | 2013-09-24 16:17:15 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-09-24 16:17:15 +0200 |
| commit | e5644a718802c9efc0670e3f72c7c8b92098e760 (patch) | |
| tree | c3a70721ecb3a6ed3e66c2a8be394561bf0b5445 /src/OptionHandlerFactory.cc | |
| parent | d1ae9f87fd97247c6ee46622a3a78836a359381b (diff) | |
Revert OptionHandlerFactory changes
Diffstat (limited to 'src/OptionHandlerFactory.cc')
| -rw-r--r-- | src/OptionHandlerFactory.cc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 33e749db..eba55c70 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -792,10 +792,20 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers() handlers.push_back(op); } { - OptionHandler* op(new DefaultOptionHandler + OptionHandler* op( +#ifdef HAVE_APPLETLS + new DefaultOptionHandler (PREF_RPC_CERTIFICATE, TEXT_RPC_CERTIFICATE, - NO_DEFAULT_VALUE)); + NO_DEFAULT_VALUE) +#else // HAVE_APPLETLS + new LocalFilePathOptionHandler + (PREF_RPC_CERTIFICATE, + TEXT_RPC_CERTIFICATE, + NO_DEFAULT_VALUE, + false) +#endif // HAVE_APPLETLS + ); op->addTag(TAG_RPC); handlers.push_back(op); } |
