boringssl/ssl
David Benjamin 7e23746dd4 Remove redundant SSL_ST_BEFORE-related checks.
SSL_ST_BEFORE isn't a possible state anymore. It seems this state meant the
side wasn't known, back in the early SSLeay days. Now upstream guesses
(sometimes incorrectly with generic methods), and we don't initialize until
later. SSL_shutdown also doesn't bother to call ssl3_shutdown at all if the
side isn't initialized and SSL_ST_BEFORE isn't the uninitialized state, which
seems a much more sensible arrangement.

Likewise, because bare SSL_ST_BEFOREs no longer exist, SSL_in_init implies
SSL_in_before and there is no need to check both.

Change-Id: Ie680838b2f860b895073dabb4d759996e21c2824
Reviewed-on: https://boringssl-review.googlesource.com/2564
Reviewed-by: Adam Langley <agl@google.com>
2014-12-13 22:31:16 +00:00
..
pqueue Test insertion of duplicates in pqueue_test. 2014-11-06 01:46:57 +00:00
test Don't infinite loop on garbage server input. 2014-12-11 23:55:38 +00:00
CMakeLists.txt Remove dtls1_enc. 2014-12-05 17:30:33 +00:00
d1_both.c Fixed memory leak due to incorrect freeing of DTLS reassembly bit mask 2014-12-05 17:26:48 +00:00
d1_clnt.c Drop unnecessary version checks. 2014-12-13 22:30:08 +00:00
d1_lib.c Mark SSL3_ENC_METHODs const and remove an unused one. 2014-12-13 22:28:58 +00:00
d1_meth.c Remove s_accept and s_connect parameters IMPLEMENT* macros. 2014-12-13 22:29:45 +00:00
d1_pkt.c Check EVP_Cipher return values. 2014-12-05 17:30:13 +00:00
d1_srtp.c Add less dangerous versions of SRTP functions. 2014-10-27 21:58:09 +00:00
d1_srvr.c Drop unnecessary version checks. 2014-12-13 22:30:08 +00:00
s3_both.c Advance to the next state variant when reusing messages (PR3597). 2014-12-05 17:31:28 +00:00
s3_cbc.c Add malloc failure tests. 2014-11-19 01:24:46 +00:00
s3_clnt.c Drop unnecessary version checks. 2014-12-13 22:30:08 +00:00
s3_enc.c Check EVP_Cipher return values. 2014-12-05 17:30:13 +00:00
s3_lib.c Remove redundant SSL_ST_BEFORE-related checks. 2014-12-13 22:31:16 +00:00
s3_meth.c Remove s_accept and s_connect parameters IMPLEMENT* macros. 2014-12-13 22:29:45 +00:00
s3_pkt.c Remove variable shadowing. 2014-12-09 21:32:49 +00:00
s3_srvr.c Drop unnecessary version checks. 2014-12-13 22:30:08 +00:00
s23_clnt.c Drop unnecessary version checks. 2014-12-13 22:30:08 +00:00
s23_lib.c Remove default_timeout hook. 2014-08-18 17:25:20 +00:00
s23_meth.c Remove s_accept and s_connect parameters IMPLEMENT* macros. 2014-12-13 22:29:45 +00:00
s23_pkt.c Inital import. 2014-06-20 13:17:32 -07:00
s23_srvr.c Drop unnecessary version checks. 2014-12-13 22:30:08 +00:00
ssl_algs.c Remove indirection in loading ciphers. 2014-09-15 21:06:10 +00:00
ssl_asn1.c Remove psk_identity_hint from SSL_SESSION. 2014-11-10 23:59:47 +00:00
ssl_cert.c Remove redundant checks in ssl_cert_dup. 2014-12-05 17:27:23 +00:00
ssl_ciph.c Remove client-side support for ServerKeyExchange in the RSA key exchange. 2014-11-10 23:00:09 +00:00
ssl_error.c Don't assign handshake_func in the handshake functions. 2014-12-02 19:30:49 +00:00
ssl_lib.c Remove redundant SSL_ST_BEFORE-related checks. 2014-12-13 22:31:16 +00:00
ssl_locl.h Remove s_accept and s_connect parameters IMPLEMENT* macros. 2014-12-13 22:29:45 +00:00
ssl_rsa.c Clean up ssl_set_cert_masks. 2014-11-18 22:21:52 +00:00
ssl_sess.c Remove redundant SSL_ST_BEFORE-related checks. 2014-12-13 22:31:16 +00:00
ssl_stat.c Trim impossible state combinations. 2014-12-02 19:31:00 +00:00
ssl_test.c Remove psk_identity_hint from SSL_SESSION. 2014-11-10 23:59:47 +00:00
ssl_txt.c Remove some remnants of SSLv2. 2014-11-17 20:27:13 +00:00
t1_enc.c Add malloc failure tests. 2014-11-19 01:24:46 +00:00
t1_lib.c Mark SSL3_ENC_METHODs const and remove an unused one. 2014-12-13 22:28:58 +00:00
t1_reneg.c Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00