openssl/ssl
Emilia Kasper aa474d1fb1 TLS: reject duplicate extensions
Adapted from BoringSSL. Added a test.

The extension parsing code is already attempting to already handle this for
some individual extensions, but it is doing so inconsistently. Duplicate
efforts in individual extension parsing will be cleaned up in a follow-up.

Reviewed-by: Stephen Henson <steve@openssl.org>
2016-02-19 17:24:44 +01:00
..
record Remove outdated DEBUG flags. 2016-02-18 17:14:50 -05:00
statem Remove outdated DEBUG flags. 2016-02-18 17:14:50 -05:00
bio_ssl.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
build.info Update build.info files for auto-init/de-init 2016-02-09 15:11:38 +00:00
d1_lib.c Remove TLS heartbeat, disable DTLS heartbeat 2016-02-11 12:57:26 -05:00
d1_msg.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
d1_srtp.c Add new DTLS-SRTP protection profiles from RFC 7714 2016-02-04 22:52:21 +00:00
Makefile.in Remove all special make depend flags, as well as OPENSSL_DOING_MAKEDEPEND 2016-02-18 23:43:09 +01:00
methods.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
packet_locl.h constify PACKET 2016-02-01 16:21:57 +01:00
pqueue.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
s3_cbc.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
s3_enc.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
s3_lib.c Remove outdated DEBUG flags. 2016-02-18 17:14:50 -05:00
s3_msg.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ssl_asn1.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ssl_cert.c Fix MacOS/X build warnings 2016-02-11 13:53:39 -05:00
ssl_ciph.c Fix {TLS,CIPHER}_DEBUG compiles. 2016-02-18 17:19:32 -05:00
ssl_conf.c Remove outdated DEBUG flags. 2016-02-18 17:14:50 -05:00
ssl_err.c TLS: reject duplicate extensions 2016-02-19 17:24:44 +01:00
ssl_init.c Hide OPENSSL_INIT_SETTINGS. 2016-02-11 08:43:46 -05:00
ssl_lib.c Remove outdated DEBUG flags. 2016-02-18 17:14:50 -05:00
ssl_locl.h Remove outdated DEBUG flags. 2016-02-18 17:14:50 -05:00
ssl_mcnf.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ssl_rsa.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ssl_sess.c Move to REF_DEBUG, for consistency. 2016-02-11 12:40:32 -05:00
ssl_stat.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ssl_txt.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ssl_utst.c Fix build-break 2016-02-15 10:17:12 -05:00
t1_enc.c Fix {TLS,CIPHER}_DEBUG compiles. 2016-02-18 17:19:32 -05:00
t1_ext.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
t1_lib.c TLS: reject duplicate extensions 2016-02-19 17:24:44 +01:00
t1_reneg.c Remove outdated DEBUG flags. 2016-02-18 17:14:50 -05:00
t1_trce.c Fix the enable-ssl-trace config option 2016-02-12 10:06:45 +00:00
tls_srp.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00