Roll BoringSSL to pull in the following changes:
Roll BoringSSL to pull in the following changes:

BUG=none

commit 7e3305eebd7fb06d57e7f25b3bbf9c10d526f7d5
Author: David Benjamin <davidben@chromium.org>
Date:   Mon Jul 28 14:52:32 2014 -0400

    Fix False Start without session tickets.

    One of the state transitions wasn't rewritten to CR_CHANGE. Add a test to
    exercise this codepath. Also SSL_cutthrough_complete references the state.

commit c3e431762aea5cc2f739bb7fbcf0cb55c4f831a3
Author: Piotr Sikora <piotr@cloudflare.com>
Date:   Mon Jul 14 20:31:27 2014 -0700

    Add OpenSSL-compatible alias for ERR_FLAG_STRING flag.

    A lot of applications use ERR_TXT_STRING flag in order to determine
    whether the error string is printable or not.

commit 987b8f1e715414b0b278a4a0c64ec9c97ad65f58
Author: Piotr Sikora <piotr@cloudflare.com>
Date:   Mon Jul 14 19:21:44 2014 -0700

    Add <opensslfeatures.h> to ease migration from OpenSSL.

    The <opensslfeatures.h> header provides #defines which are normally
    declared by OpenSSL when features are disabled.

    This way applications are able to detect which features were removed
    from BoringSSL and use it as drop-in replacement for OpenSSL.

    Inspired by LibreSSL, which provides similar header.

commit 108300573fba766eb2dca965ec4b5808f004dfa8
Author: Piotr Sikora <piotr@cloudflare.com>
Date:   Mon Jul 14 19:05:32 2014 -0700

    Hook ssl_stat.c into build.


commit 0eb5a2df4a3028e7283189c2be2849493106a18b
Author: David Benjamin <davidben@chromium.org>
Date:   Fri Jul 25 02:40:43 2014 -0400

    Fix tls1_get_curvelist default curves list size.

    The length is the number of elements now, not the size in bytes. Caught by
    ASan.

commit 0aa0767340baf925bda4804882aab0cb974b2d26
Author: David Benjamin <davidben@chromium.org>
Date:   Thu Jul 24 15:34:14 2014 -0400

    Improve constant-time padding check in RSA key exchange.

    Although the PKCS#1 padding check is internally constant-time, it is not
    constant time at the crypto/ ssl/ API boundary. Expose a constant-time
    RSA_message_index_PKCS1_type_2 function and integrate it into the
    timing-sensitive portion of the RSA key exchange logic.

commit 86271ee9f866cd83d9e37ab1ba1218ebefb336aa
Author: David Benjamin <davidben@chromium.org>
Date:   Mon Jul 21 16:14:03 2014 -0400

    Change CCS_OK to EXPECT_CCS.

    Now that the flag is set accurately, use it to enforce that the handshake and
    CCS synchronization. If EXPECT_CCS is set, enforce that:

    (a) No handshake records may be received before ChangeCipherSpec.

    (b) There is no pending handshake data at the point EXPECT_CCS is set.

commit cb5abad717d9ef77209071813376fd06b2ede294
Author: David Benjamin <davidben@chromium.org>
Date:   Fri Jul 25 12:14:28 2014 -0400

    Consolidate CCS_OK paths in s3_clnt.c.

    Introduce a CR_CHANGE state just before entering CR_FINISHED_A. This replaces
    the CCS_OK in the CR_FINISHED_A/CR_FINISHED_B case which otherwise would get
    applied after partial reads of Finished. The other CCS_OK settings are
    redundant with this one.

    The copy in tls_secret_session_cb codepath is made unnecessary with
    9eaeef81fa2d4fd6246dc02b6203fa936a5eaf67.

    The copy in the normal session resumption case is unnecessary with
    6444287806d801b9a45baf1f6f02a0e3a16e144c. Before that commit, OpenSSL would
    potentially read Finished a state early. Now that we are strict (and get the
    book-keeping correct) for expecting the NewSessionTicket message it too is
    redundant.

    Of particular note is the one after ssl3_send_finished. That was added in
    response to upstream's PR#3400. I've reproduced the bug and concluded it was
    actually a bug around expecting a NewSessionTicket message. That has been fixed
    properly in 6444287806d801b9a45baf1f6f02a0e3a16e144c by resetting
    tlsext_expect_ticket on renegotiations.

commit 84ec49e914fa812f5d0169e977eb47e52afc17ff
Author: David Benjamin <davidben@chromium.org>
Date:   Tue Jul 22 14:25:28 2014 -0400

    Consolidate CCS_OK codepaths in s3_srvr.c.

    Rename SSL3_ST_SR_POST_CLIENT_CERT to SSL3_ST_SR_CHANGE and have this be the
    point at which CCS_OK is set. The copy before ssl3_get_finished is redundant as
    we never transition to SR_FINISHED directly.

Review URL: https://codereview.chromium.org/420313002

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@286099 0039d316-1c4b-4281-b951-d872f2087c98

PeterWangIntel/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,M4sse/chromium.src,ltilve/chromium,M4sse/chromium.src,markYoungH/chromium.src,hgl888/chromium-crosswalk-efl,dushu1203/chromium.src,Fireblend/chromium-crosswalk,M4sse/chromium.src,Jonekee/chromium.src,TheTypoMaster/chromium-crosswalk,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,dushu1203/chromium.src,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,markYoungH/chromium.src,markYoungH/chromium.src,axinging/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,jaruba/chromium.src,fujunwei/chromium-crosswalk,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,markYoungH/chromium.src,ltilve/chromium,ltilve/chromium,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,M4sse/chromium.src,M4sse/chromium.src,markYoungH/chromium.src,dednal/chromium.src,bright-sparks/chromium-spacewalk,TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.src,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,markYoungH/chromium.src,M4sse/chromium.src,hgl888/chromium-crosswalk,markYoungH/chromium.src,Jonekee/chromium.src,axinging/chromium-crosswalk,axinging/chromium-crosswalk,Jonekee/chromium.src,littlstar/chromium.src,axinging/chromium-crosswalk,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,chuan9/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,Chilledheart/chromium,M4sse/chromium.src,dushu1203/chromium.src,ltilve/chromium,krieger-od/nwjs_chromium.src,dednal/chromium.src,krieger-od/nwjs_chromium.src,crosswalk-project/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,jaruba/chromium.src,mohamed--abdel-maksoud/chromium.src,PeterWangIntel/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Chilledheart/chromium,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk,axinging/chromium-crosswalk,hgl888/chromium-crosswalk,littlstar/chromium.src,ondra-novak/chromium.src,ondra-novak/chromium.src,axinging/chromium-crosswalk,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,Chilledheart/chromium,dednal/chromium.src,M4sse/chromium.src,PeterWangIntel/chromium-crosswalk,krieger-od/nwjs_chromium.src,M4sse/chromium.src,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,Just-D/chromium-1,bright-sparks/chromium-spacewalk,Jonekee/chromium.src,dushu1203/chromium.src,Just-D/chromium-1,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,Just-D/chromium-1,chuan9/chromium-crosswalk,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,Just-D/chromium-1,littlstar/chromium.src,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,Fireblend/chromium-crosswalk,ltilve/chromium,jaruba/chromium.src,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,ltilve/chromium,M4sse/chromium.src,hgl888/chromium-crosswalk,ltilve/chromium,littlstar/chromium.src,TheTypoMaster/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,jaruba/chromium.src,dushu1203/chromium.src,Just-D/chromium-1,jaruba/chromium.src,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,ondra-novak/chromium.src,markYoungH/chromium.src,dednal/chromium.src,fujunwei/chromium-crosswalk,Chilledheart/chromium,krieger-od/nwjs_chromium.src,Just-D/chromium-1,littlstar/chromium.src,hgl888/chromium-crosswalk-efl,Jonekee/chromium.src,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,Pluto-tv/chromium-crosswalk,Just-D/chromium-1,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,jaruba/chromium.src,hgl888/chromium-crosswalk,dushu1203/chromium.src,Fireblend/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk,ondra-novak/chromium.src,chuan9/chromium-crosswalk,Jonekee/chromium.src,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,jaruba/chromium.src,Chilledheart/chromium,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,Chilledheart/chromium,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,chuan9/chromium-crosswalk,dednal/chromium.src,littlstar/chromium.src,Jonekee/chromium.src,fujunwei/chromium-crosswalk,fujunwei/chromium-crosswalk,dushu1203/chromium.src,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,Chilledheart/chromium,hgl888/chromium-crosswalk,dednal/chromium.src,jaruba/chromium.src,dednal/chromium.src,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,Chilledheart/chromium,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,ondra-novak/chromium.src,littlstar/chromium.src,Pluto-tv/chromium-crosswalk,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,krieger-od/nwjs_chromium.src,axinging/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,Jonekee/chromium.src,ondra-novak/chromium.src,jaruba/chromium.src,fujunwei/chromium-crosswalk,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,markYoungH/chromium.src,jaruba/chromium.src,krieger-od/nwjs_chromium.src,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,Just-D/chromium-1,ondra-novak/chromium.src,ltilve/chromium,bright-sparks/chromium-spacewalk,ltilve/chromium