[openssl/openssl] 12e96a: Add brotli compression support (RFC7924)

Todd Short noreply at github.com
Tue Oct 18 15:45:31 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 12e96a23604a7aa1cd8f83486b02f1bcab6d468f
      https://github.com/openssl/openssl/commit/12e96a23604a7aa1cd8f83486b02f1bcab6d468f
  Author: Todd Short <tshort at akamai.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M Configurations/00-base-templates.conf
    M Configure
    M INSTALL.md
    M apps/enc.c
    M apps/list.c
    M apps/progs.pl
    M crypto/comp/build.info
    A crypto/comp/c_brotli.c
    M crypto/comp/comp_err.c
    M crypto/err/openssl.txt
    M crypto/init.c
    M crypto/objects/obj_dat.h
    M crypto/objects/obj_mac.num
    M crypto/objects/objects.txt
    M doc/build.info
    A doc/man3/COMP_CTX_new.pod
    M doc/man3/SSL_COMP_add_compression_method.pod
    M include/internal/comp.h
    M include/openssl/comp.h
    M include/openssl/comperr.h
    M include/openssl/obj_mac.h
    A test/bio_comp_test.c
    M test/build.info
    A test/recipes/07-test_bio_comp.t
    M util/libcrypto.num
    M util/missingcrypto.txt
    M util/perl/OpenSSL/Ordinals.pm

  Log Message:
  -----------
  Add brotli compression support (RFC7924)

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18186)


  Commit: caf9317d7d75213990014e07048384be15688889
      https://github.com/openssl/openssl/commit/caf9317d7d75213990014e07048384be15688889
  Author: Todd Short <tshort at akamai.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M Configurations/00-base-templates.conf
    M Configure
    M INSTALL.md
    M apps/enc.c
    M apps/list.c
    M apps/progs.pl
    M crypto/comp/build.info
    A crypto/comp/c_zstd.c
    M crypto/comp/comp_err.c
    M crypto/err/openssl.txt
    M crypto/init.c
    M crypto/objects/obj_dat.h
    M crypto/objects/obj_mac.num
    M crypto/objects/objects.txt
    M doc/man3/COMP_CTX_new.pod
    M doc/man3/SSL_COMP_add_compression_method.pod
    M include/internal/comp.h
    M include/openssl/comp.h
    M include/openssl/comperr.h
    M include/openssl/obj_mac.h
    M test/bio_comp_test.c
    M test/build.info
    M test/recipes/07-test_bio_comp.t
    M util/libcrypto.num
    M util/perl/OpenSSL/Ordinals.pm

  Log Message:
  -----------
  Add ZSTD compression support (RFC8478bis)

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18186)


  Commit: 59d21298df9176b64b41cc8583c7024f7f5895d4
      https://github.com/openssl/openssl/commit/59d21298df9176b64b41cc8583c7024f7f5895d4
  Author: Todd Short <tshort at akamai.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M Configure
    M apps/enc.c
    M apps/list.c
    M apps/progs.pl
    M crypto/cms/cms_cd.c
    M crypto/cms/cms_lib.c
    M crypto/cms/cms_smime.c
    M crypto/comp/c_zlib.c
    M include/openssl/comp.h
    M test/bio_comp_test.c
    M util/libcrypto.num

  Log Message:
  -----------
  Convert ZLIB defines to OPENSSL_NO_ZLIB

Use the normal OPENSSL_NO_ prefix to enable/disable ZLIB
Make `BIO_f_zlib()` always available.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18186)


  Commit: b67cb09f8ddf258cf326f3e7b20be095fb53457c
      https://github.com/openssl/openssl/commit/b67cb09f8ddf258cf326f3e7b20be095fb53457c
  Author: Todd Short <tshort at akamai.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M CHANGES.md
    M NEWS.md
    M apps/include/opt.h
    M apps/lib/s_cb.c
    M apps/s_server.c
    M crypto/comp/c_brotli.c
    M crypto/comp/c_zstd.c
    M crypto/comp/comp_err.c
    M crypto/err/openssl.txt
    M doc/build.info
    M doc/man1/openssl-s_client.pod.in
    M doc/man1/openssl-s_server.pod.in
    M doc/man3/COMP_CTX_new.pod
    M doc/man3/SSL_CONF_cmd.pod
    A doc/man3/SSL_CTX_set1_cert_comp_preference.pod
    M doc/man3/SSL_CTX_set_options.pod
    M include/openssl/comperr.h
    M include/openssl/configuration.h.in
    M include/openssl/ssl.h.in
    M include/openssl/ssl3.h
    M include/openssl/sslerr.h
    M include/openssl/tls1.h
    M ssl/build.info
    M ssl/ssl_cert.c
    A ssl/ssl_cert_comp.c
    M ssl/ssl_conf.c
    M ssl/ssl_err.c
    M ssl/ssl_lib.c
    M ssl/ssl_local.h
    M ssl/ssl_stat.c
    M ssl/statem/extensions.c
    M ssl/statem/extensions_cust.c
    M ssl/statem/statem.c
    M ssl/statem/statem.h
    M ssl/statem/statem_clnt.c
    M ssl/statem/statem_lib.c
    M ssl/statem/statem_local.h
    M ssl/statem/statem_srvr.c
    M ssl/t1_trce.c
    M test/bio_comp_test.c
    M test/build.info
    A test/cert_comp_test.c
    M test/ext_internal_test.c
    M test/helpers/handshake.c
    M test/helpers/ssl_test_ctx.c
    M test/helpers/ssl_test_ctx.h
    A test/recipes/70-test_tls13certcomp.t
    M test/recipes/70-test_tls13kexmodes.t
    M test/recipes/70-test_tls13messages.t
    M test/recipes/80-test_ssl_new.t
    A test/recipes/90-test_cert_comp.t
    A test/ssl-tests/32-compressed-certificate.cnf
    A test/ssl-tests/32-compressed-certificate.cnf.in
    M test/sslapitest.c
    M util/libssl.num
    M util/perl/TLSProxy/Message.pm
    M util/perl/checkhandshake.pm

  Log Message:
  -----------
  Add support for compressed certificates (RFC8879)

* Compressed Certificate extension (server/client)
* Server certificates (send/receive)
* Client certificate (send/receive)

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18186)


  Commit: b540aae97d6b80f9040874b9c56259a85ba46f36
      https://github.com/openssl/openssl/commit/b540aae97d6b80f9040874b9c56259a85ba46f36
  Author: Todd Short <tshort at akamai.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M .github/workflows/ci.yml
    A .github/workflows/windows_comp.yml

  Log Message:
  -----------
  Add CI to build with brotli and zstd

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18186)


  Commit: 7e3cacac943d298348d97c8f7f980ca0916378c5
      https://github.com/openssl/openssl/commit/7e3cacac943d298348d97c8f7f980ca0916378c5
  Author: Todd Short <tshort at akamai.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M crypto/comp/c_brotli.c
    M crypto/comp/c_zlib.c
    M crypto/comp/c_zstd.c
    M crypto/comp/comp_lib.c
    M crypto/comp/comp_local.h
    M doc/man3/COMP_CTX_new.pod
    M ssl/statem/statem_clnt.c
    M ssl/statem/statem_lib.c
    M test/ssl_old_test.c

  Log Message:
  -----------
  Update COMP_METHOD

size_t-ify the COMP_METHOD structure and functions.
Get rid of the non-functional COMP_METHODS and return NULL instead.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18186)


  Commit: 72620ac79133ca7a4553b70573fd100257e8269d
      https://github.com/openssl/openssl/commit/72620ac79133ca7a4553b70573fd100257e8269d
  Author: Todd Short <tshort at akamai.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M include/openssl/ssl.h.in
    M ssl/ssl_cert_comp.c
    M ssl/ssl_local.h
    M ssl/statem/extensions.c
    M ssl/statem/extensions_cust.c
    M ssl/statem/statem.c
    M ssl/statem/statem.h
    M ssl/statem/statem_clnt.c
    M ssl/statem/statem_lib.c
    M ssl/statem/statem_srvr.c

  Log Message:
  -----------
  Add `for_comp` flag when retrieving certs for compression

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18186)


Compare: https://github.com/openssl/openssl/compare/846975f367f7...72620ac79133


More information about the openssl-commits mailing list