summaryrefslogtreecommitdiffstats
path: root/src/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-04-23 17:29:56 -0700
committerKenny Root <kroot@google.com>2015-04-24 18:26:59 +0000
commitd8eaa8b9e9911a0d3539917fb8134e3b19205a3e (patch)
tree971faaa67bb040e2fc9cb228e2ba87e2ae81f3d3 /src/ssl/ssl_lib.c
parentd82ab38ca2b63638a2cb0b5d8a2c76d90c86dd31 (diff)
downloadexternal_boringssl-d8eaa8b9e9911a0d3539917fb8134e3b19205a3e.zip
external_boringssl-d8eaa8b9e9911a0d3539917fb8134e3b19205a3e.tar.gz
external_boringssl-d8eaa8b9e9911a0d3539917fb8134e3b19205a3e.tar.bz2
Use SSL_MODE_SEND_FALLBACK_SCSV.
Upstream settled in this API, and it's also the one that we expect internally and that third_party code will expect. This is an import of upstream's 5f0efe06e199a1bd96f161eb45f3dd76924cdc2a. Change-Id: Ib4c7054a382dccdd23919407742bd037b9653a4b
Diffstat (limited to 'src/ssl/ssl_lib.c')
-rw-r--r--src/ssl/ssl_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/ssl_lib.c b/src/ssl/ssl_lib.c
index c3b95d5..35eb1ec 100644
--- a/src/ssl/ssl_lib.c
+++ b/src/ssl/ssl_lib.c
@@ -1425,7 +1425,7 @@ int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *sk, uint8_t *p) {
s2n(SSL3_CK_SCSV & 0xffff, p);
}
- if (s->fallback_scsv) {
+ if (s->mode & SSL_MODE_SEND_FALLBACK_SCSV) {
s2n(SSL3_CK_FALLBACK_SCSV & 0xffff, p);
}