boringssl/ssl
David Benjamin 70bd80a236 Remove constraints on curve ID values.
The under 32 constraint is silly; it's to check for duplicate curves in
library-supplied configuration. That API is new as of 1.0.2. It doesn't seem
worth bothering; if the caller supplies a repeated value, may as well emit a
repeated one and so be it. (Probably no one will ever call that function
outside of maybe test code anyway.)

While I'm here, remove the 0 constraint too. It's not likely to change, but
removing the return value overload seems easier than keeping comments about it
comments about it.

Change-Id: I01d36dba1855873875bb5a0ec84b040199e0e9bc
Reviewed-on: https://boringssl-review.googlesource.com/2844
Reviewed-by: Adam Langley <agl@google.com>
2015-01-14 21:52:28 +00:00
..
pqueue Test insertion of duplicates in pqueue_test. 2014-11-06 01:46:57 +00:00
test Add tests for certificate mismatch. 2015-01-14 21:51:17 +00:00
CMakeLists.txt Remove dead code from EVP_CIPHER codepaths. 2015-01-14 21:05:41 +00:00
d1_both.c Clarify dtls1_do_write's interaction with the buffering BIO. 2015-01-14 21:48:31 +00:00
d1_clnt.c Reformatting of several DTLS source files. 2014-12-13 16:28:18 -08:00
d1_lib.c Account for the MTU BIO_ctrls returning negative or overly large numbers. 2015-01-14 21:46:50 +00:00
d1_meth.c Implement SSL_clear with ssl_new and ssl_free. 2015-01-12 22:35:58 +00:00
d1_pkt.c Remove dead code from EVP_CIPHER codepaths. 2015-01-14 21:05:41 +00:00
d1_srtp.c Reformat d1_{srtp|srvr}.c and s3_both.c 2014-12-15 18:42:07 -08:00
d1_srvr.c Support EVP_AEAD in DTLS. 2015-01-14 21:03:40 +00:00
s3_both.c Touch up ssl3_get_message. 2014-12-17 00:16:23 +00:00
s3_clnt.c Remove SSL_SESSION::cipher_id. 2015-01-14 21:10:55 +00:00
s3_enc.c Implement SSLv3 ciphers with stateful AEADs. 2015-01-14 20:55:58 +00:00
s3_lib.c Switch OBJ_undef uses to NID_undef. 2015-01-14 21:51:25 +00:00
s3_meth.c Implement SSL_clear with ssl_new and ssl_free. 2015-01-12 22:35:58 +00:00
s3_pkt.c Remove dead code from EVP_CIPHER codepaths. 2015-01-14 21:05:41 +00:00
s3_srvr.c Remove constraints on curve ID values. 2015-01-14 21:52:28 +00:00
ssl_algs.c Reformat the rest of ssl/. 2014-12-18 17:43:03 -08:00
ssl_asn1.c Remove SSL_SESSION::cipher_id. 2015-01-14 21:10:55 +00:00
ssl_cert.c Add (void) to some macros to satisfy compiler. 2015-01-12 23:46:03 +00:00
ssl_ciph.c ssl_create_cipher_list: check whether push onto cipherstack succeeds 2015-01-14 21:48:55 +00:00
ssl_error.c Guard against small MTUs from the BIO. 2015-01-14 21:43:07 +00:00
ssl_lib.c Fix memory leak in SSL_new if errors occur. 2015-01-14 21:49:04 +00:00
ssl_locl.h Remove constraints on curve ID values. 2015-01-14 21:52:28 +00:00
ssl_rsa.c Reformat the rest of ssl/. 2014-12-18 17:43:03 -08:00
ssl_sess.c Add (void) to some macros to satisfy compiler. 2015-01-12 23:46:03 +00:00
ssl_stat.c Reformat the rest of ssl/. 2014-12-18 17:43:03 -08:00
ssl_test.c Merge SSLv23_method and DTLS_ANY_VERSION. 2014-12-13 15:22:21 -08:00
ssl_txt.c Remove SSL_SESSION::cipher_id. 2015-01-14 21:10:55 +00:00
t1_enc.c Remove dead code from EVP_CIPHER codepaths. 2015-01-14 21:05:41 +00:00
t1_lib.c Remove constraints on curve ID values. 2015-01-14 21:52:28 +00:00
t1_reneg.c Reformat the rest of ssl/. 2014-12-18 17:43:03 -08:00