~ubuntu-branches/ubuntu/trusty/curl/trusty-updates

« back to all changes in this revision

Viewing changes to src/tool_metalink.c

  • Committer: Package Import Robot
  • Author(s): Ubuntu Merge-o-Matic
  • Date: 2013-08-12 15:39:32 UTC
  • mfrom: (3.4.41 sid)
  • Revision ID: package-import@ubuntu.com-20130812153932-pmn0qwvy9vghe66x
Tags: 7.32.0-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.
* Fixes freeipa-client join. (LP: #1220928)

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
#  ifdef HAVE_NSS_INITCONTEXT
58
58
     static NSSInitContext *nss_context;
59
59
#  endif
60
 
#elif defined(__MAC_10_4) || defined(__IPHONE_5_0)
 
60
#elif (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && \
 
61
              (__MAC_OS_X_VERSION_MAX_ALLOWED >= 1040)) || \
 
62
      (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && \
 
63
              (__IPHONE_OS_VERSION_MAX_ALLOWED >= 20000))
61
64
/* For Apple operating systems: CommonCrypto has the functions we need.
62
65
   The library's headers are even backward-compatible with OpenSSL's
63
66
   headers as long as we define COMMON_DIGEST_FOR_OPENSSL first.
64
67
 
65
 
   These functions are available on Tiger and later, as well as iOS 5.0
 
68
   These functions are available on Tiger and later, as well as iOS 2.0
66
69
   and later. If you're building for an older cat, well, sorry. */
67
70
#  define COMMON_DIGEST_FOR_OPENSSL
68
71
#  include <CommonCrypto/CommonDigest.h>