1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-13 13:05:03 -05:00
curl/lib/vtls
David Benjamin 39c803cba2 openssl: remove most BoringSSL #ifdefs.
As of https://boringssl-review.googlesource.com/#/c/6980/, almost all of
BoringSSL #ifdefs in cURL should be unnecessary:

- BoringSSL provides no-op stubs for compatibility which replaces most
  #ifdefs.

- DES_set_odd_parity has been in BoringSSL for nearly a year now. Remove
  the compatibility codepath.

- With a small tweak to an extend_key_56_to_64 call, the NTLM code
  builds fine.

- Switch OCSP-related #ifdefs to the more generally useful
  OPENSSL_NO_OCSP.

The only #ifdefs which remain are Curl_ossl_version and the #undefs to
work around OpenSSL and wincrypt.h name conflicts. (BoringSSL leaves
that to the consumer. The in-header workaround makes things sensitive to
include order.)

This change errs on the side of removing conditionals despite many of
the restored codepaths being no-ops. (BoringSSL generally adds no-op
compatibility stubs when possible. OPENSSL_VERSION_NUMBER #ifdefs are
bad enough!)

Closes #640
2016-02-09 08:46:36 +01:00
..
axtls.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
axtls.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
cyassl.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
cyassl.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
darwinssl.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
darwinssl.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
gskit.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
gskit.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
gtls.c configure: --with-ca-fallback: use built-in TLS CA fallback 2016-02-08 14:45:58 +01:00
gtls.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
mbedtls.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
mbedtls.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
nss.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
nssg.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
openssl.c openssl: remove most BoringSSL #ifdefs. 2016-02-09 08:46:36 +01:00
openssl.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
polarssl_threadlock.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
polarssl_threadlock.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
polarssl.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
polarssl.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
schannel.c URLs: change more http to https 2016-02-04 18:46:54 -05:00
schannel.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
vtls.c URLs: change more http to https 2016-02-04 18:46:54 -05:00
vtls.h URLs: change more http to https 2016-02-04 18:46:54 -05:00