Make COMP_CTX and COMP_METHOD opaque
authorRich Salz <rsalz@akamai.com>
Fri, 8 May 2015 16:05:36 +0000 (12:05 -0400)
committerRich Salz <rsalz@openssl.org>
Tue, 12 May 2015 14:24:48 +0000 (10:24 -0400)
commit9a555706a3fb8f6622e1049ab510a12f4e1bc6a2
treed13efcdaae67e53a1ae4688d6927f406ada913ab
parent253617806da0aeb0cea1fedf6136460fb4993eae
Make COMP_CTX and COMP_METHOD opaque

Since COMP_METHOD is now defined in comp_lcl.h, it is no
longer possible to create new TLS compression methods without
using the OpenSSL source.  Only ZLIB is supported by default.
Also, since the types are opaque, #ifdef guards to use "char *"
instead of the real type aren't necessary.

The changes are actually minor.  Adding missing copyright to some
files makes the diff misleadingly big.

Reviewed-by: Matt Caswell <matt@openssl.org>
14 files changed:
crypto/comp/Makefile
crypto/comp/c_zlib.c
crypto/comp/comp_lcl.h [new file with mode: 0644]
crypto/comp/comp_lib.c
include/openssl/comp.h
include/openssl/ossl_typ.h
include/openssl/ssl.h
ssl/ssl_ciph.c
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/ssl_txt.c
test/ssltest.c
util/libeay.num
util/ssleay.num