Make sure int SSL_COMP_add_compression_method() checks if a certain
authorRichard Levitte <levitte@openssl.org>
Mon, 6 Oct 2003 11:00:15 +0000 (11:00 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 6 Oct 2003 11:00:15 +0000 (11:00 +0000)
commit8242354952ead170335b98b33254ca9a0e836926
tree0a87cad1acecb32f22dd045d240154c1cfcb4b42
parentc40b9bdefb59be7e640cd7a10bfd2fa26ea1fe7b
Make sure int SSL_COMP_add_compression_method() checks if a certain
compression identity is already present among the registered
compression methods, and if so, reject the addition request.

Declare SSL_COMP_get_compression_method() so it can be used properly.

Change ssltest.c so it checks what compression methods are available
and enumerates them.  As a side-effect, built-in compression methods
will be automagically loaded that way.  Additionally, change the
identities for ZLIB and RLE to be conformant to
draft-ietf-tls-compression-05.txt.

Finally, make update.

Next on my list: have the built-in compression methods added
"automatically" instead of requiring that the author call
SSL_COMP_add_compression_method() or
SSL_COMP_get_compression_methods().
crypto/comp/Makefile.ssl
crypto/des/Makefile.ssl
ssl/ssl.h
ssl/ssl_ciph.c
ssl/ssl_err.c
ssl/ssltest.c
util/ssleay.num