diff options
| author | Nils Maier <maierman@web.de> | 2013-04-08 04:12:31 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-04-08 06:45:53 +0200 |
| commit | 82a861f8d88bbe5d978dfa2ebfc184d903981ead (patch) | |
| tree | f47d0dc583bc9181a571555138587fa5a3b13858 /src/MultiUrlRequestInfo.cc | |
| parent | 89cf6c046833c578e153f71b9ad40817464d0ba5 (diff) | |
AppleTLS: Support credentials via KeyChain fingerprints
Diffstat (limited to 'src/MultiUrlRequestInfo.cc')
| -rw-r--r-- | src/MultiUrlRequestInfo.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/MultiUrlRequestInfo.cc b/src/MultiUrlRequestInfo.cc index a8bb2342..b0156aca 100644 --- a/src/MultiUrlRequestInfo.cc +++ b/src/MultiUrlRequestInfo.cc @@ -141,8 +141,11 @@ error_code::Value MultiUrlRequestInfo::execute() #ifdef ENABLE_SSL if(option_->getAsBool(PREF_ENABLE_RPC) && option_->getAsBool(PREF_RPC_SECURE)) { - if(!option_->blank(PREF_RPC_CERTIFICATE) && - !option_->blank(PREF_RPC_PRIVATE_KEY)) { + if(!option_->blank(PREF_RPC_CERTIFICATE) +#ifndef HAVE_APPLETLS + && !option_->blank(PREF_RPC_PRIVATE_KEY) +#endif // HAVE_APPLETLS + ) { // We set server TLS context to the SocketCore before creating // DownloadEngine instance. SharedHandle<TLSContext> svTlsContext(TLSContext::make(TLS_SERVER)); |
