boringssl/include/openssl
David Benjamin 3cfeb9522b Disable SSLv3 by default.
As a precursor to removing the code entirely later, disable the protocol
by default. Callers must use SSL_CTX_set_min_version to enable it.

This change also makes SSLv3_method *not* enable SSL 3.0. Normally
version-specific methods set the minimum and maximum version to their
version. SSLv3_method leaves the minimum at the default, so we will
treat it as all versions disabled. To help debugging, the error code is
switched from WRONG_SSL_VERSION to a new NO_SUPPORTED_VERSIONS_ENABLED.

This also defines OPENSSL_NO_SSL3 and OPENSSL_NO_SSL3_METHOD to kick in
any no-ssl3 build paths in consumers which should provide a convenient
hook for any upstreaming changes that may be needed. (OPENSSL_NO_SSL3
existed in older versions of OpenSSL, so in principle one may encounter
an OpenSSL with the same settings.)

Change-Id: I96a8f2f568eb77b2537b3a774b2f7108bd67dd0c
Reviewed-on: https://boringssl-review.googlesource.com/14031
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-04-11 16:38:16 +00:00
..
aead.h Remove old ChaCha20-Poly1305 AEAD. 2017-01-19 23:27:54 +00:00
aes.h
arm_arch.h
asn1_mac.h
asn1.h Remove crypto/asn1 LONG and ZLONG. 2017-03-21 16:06:23 +00:00
asn1t.h Remove BIGNUM and CBIGNUM crypto/asn1 types. 2017-03-21 16:07:05 +00:00
base64.h
base.h Support asynchronous ticket decryption with TLS 1.0–1.2. 2017-03-11 00:04:18 +00:00
bio.h Remove support for blocking DTLS timeout handling. 2017-03-01 19:59:28 +00:00
blowfish.h
bn.h Add BN_is_pow2, BN_mod_pow2, and BN_nnmod_pow2. 2017-02-09 22:40:12 +00:00
buf.h
buffer.h
bytestring.h Correct a typo in ASN.1 type name. 2017-03-16 21:57:58 +00:00
cast.h
chacha.h
cipher.h Spellcheck our public headers. 2017-01-12 18:24:27 +00:00
cmac.h
conf.h Fix out-of-memory condition in conf. 2017-03-21 16:19:22 +00:00
cpu.h Make the POWER hardware capability value a global in crypto.c. 2017-04-04 18:19:19 +00:00
crypto.h First part of the FIPS module. 2017-04-07 00:05:34 +00:00
curve25519.h Import additional test vectors from RFC 8032. 2017-03-30 16:28:55 +00:00
des.h Fix shared library build on OS X. 2015-10-26 23:39:47 +00:00
dh.h
digest.h Decouple PKCS#12 hash lookup from the OID table. 2017-03-25 21:22:50 +00:00
dsa.h Spellcheck our public headers. 2017-01-12 18:24:27 +00:00
dtls1.h
ec_key.h
ec.h Fix a couple of missing spaces in comments. 2017-01-12 18:35:25 +00:00
ecdh.h
ecdsa.h ECDSA: const EC_KEY* arguments where possible. 2017-02-18 06:22:01 +00:00
engine.h
err.h Spellcheck our public headers. 2017-01-12 18:24:27 +00:00
evp.h Support EVP_PKEY_{sign,verify}_message with Ed25519. 2017-04-05 23:05:14 +00:00
ex_data.h
hkdf.h
hmac.h
lhash_macros.h Add CRYPTO_BUFFER and CRYPTO_BUFFER_POOL. 2016-10-27 22:55:55 +00:00
lhash.h Remove lh_new's default hash and comparator. 2017-01-04 01:44:10 +00:00
md4.h
md5.h
mem.h
nid.h Implement draft-ietf-curdle-pkix-04's serialization. 2017-04-05 23:02:22 +00:00
obj_mac.h
obj.h Spellcheck our public headers. 2017-01-12 18:24:27 +00:00
objects.h
opensslconf.h Disable SSLv3 by default. 2017-04-11 16:38:16 +00:00
opensslv.h
ossl_typ.h
pem.h
pkcs7.h
pkcs8.h Decouple PKCS8_encrypt and PKCS8_decrypt's core from crypto/asn1. 2017-03-26 04:00:26 +00:00
pkcs12.h
poly1305.h
pool.h Fix a couple of missing spaces in comments. 2017-01-12 18:35:25 +00:00
rand.h
rc4.h
ripemd.h
rsa.h Unwind the rest of EVP_PKEY_supports_digest. 2017-03-30 16:28:25 +00:00
safestack.h
sha.h Remove SHA_LBLOCK and SHA_LONG. 2017-01-25 23:30:13 +00:00
srtp.h
ssl3.h Prune some dead constants. 2017-04-05 19:15:44 +00:00
ssl.h Disable SSLv3 by default. 2017-04-11 16:38:16 +00:00
stack_macros.h
stack.h
thread.h
tls1.h Remove experimental TLS 1.3 short record header extension. 2017-03-02 22:39:17 +00:00
type_check.h Get OPENSSL_COMPILE_ASSERT working in function bodies. 2017-01-24 21:30:33 +00:00
x509_vfy.h Add |X509_STORE_set0_additional_untrusted|. 2016-12-21 00:20:43 +00:00
x509.h Teach crypto/x509 how to verify an Ed25519 signature. 2017-04-05 23:35:30 +00:00
x509v3.h